search on lynty.com

Related Articles

strings

Print PDF

How do you display a binary file in Linux?

 

There are several tools that let you examine the inside of a binary file in Linux. One of them is called "hexdump" (see "man hexdump"). Another is "od" (octal dump - though either of these can output the file in various formats). Also, you may want to try "strings" - this shows all the text strings in a file.

 

strings file_name.bin(exe)
od -c file_name.bin(exe)
hexdump file_name.bin(exe)
 

Related Articles+