Re: how to know a binary or text file and show all the information in file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello!
"File" utility should give you the information on what this file is.Just runfile myfile.dat.
If you mean that you need to transform binary in printable form, thenlook to base64 coding functionality from openssl package - it can dothis.
Many tools can open binary files, it depends on what you want it to do.
Regards,
On Dec 19, 2007 10:18 AM,  <C_C_Kuo@xxxxxxxxxxxxxx> wrote:> Dear all:> Could someone tell me how to know the file is binary or ASCII?> I know both of them are stream of bytes but interpreted by different ways.> My questions are:> 1. How can I know this without opening it?> 2. how can I see all the information in a file, include all the control characters, like linein, print character and line feed, etc.> 3. Is there any tool on Linux can open binary file?> 4. Is there any tool on Linux can transfer ASCII to binary and binary to ASCII?>> Appreciate your help,> cckuo>>>> *****************  Novatek Email Confidentiality Notice *****************> The information contained in this electronic communication, and any electronic attachments, is confidential or legally privileged and may be subject to protection under the law. It is intended only for the named recipient above. If you have received this communication in error, or are not the named recipient, please immediately notify the sender via reply email and delete this communication from your computer system, and destroy all copies of this communication along with any attachments. Thank you for your cooperation.>> Copyright Novatek 2006-2007 All Rights Reserved>> --> To unsubscribe from this list: send an email with> "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx> Please read the FAQ at http://kernelnewbies.org/FAQ>>?頨{.n?????%??橆jw夸)p??{.n??干嫡?迸'耄?q表??鸑????津?v傂?m??聬zY瓾?堝+?@


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux