LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   How to convert a hex file to an ASCII file? (https://www.linuxquestions.org/questions/linux-server-73/how-to-convert-a-hex-file-to-an-ascii-file-830924/)

lxnbie 09-08-2010 03:28 AM

How to convert a hex file to an ASCII file?
 
Hi, I have a file of 2GB size in hex form. This is a log file from the server which I converted to hex as the file got corrupted.Can anyone tell how to convert this hex file to ASCII??? pls help..its bit critical...

business_kid 09-08-2010 03:49 AM

You'll have to expand on 'converted it to hex'
Log files are ascii, as a rule. That is, numbers between 31 and 127 using 7 binary bits of an 8 bit byte.
Hex uses the 8 bytes (0-255). What did you do to convert it? Did your conversion retain the data, or mangle it?


All times are GMT -5. The time now is 06:11 PM.