Is there any linux command to extracts all the ascii strings from an executable or other binary file? I suppose I could do it with a grep, but I remember hearing somewhere that such a command existed?
Linux Command – How to Find Strings in Binary or Non-ASCII File
binarygreplinuxstrings
Related Topic
- Ftp – ASCII vs Binary vs Auto
- Mysql – Error importing large MySQL dump file which includes binary BLOBs in Windows
- Linux – DF Not Showing Correct Free Space After File Removal
- How to grep through binary files that look like text
- FTP – Is transferring ascii files in binary a bad thing
- Linux Web Server – Proper Permissions for Website Files and Folders
Best Answer
The command you are looking for is
strings
Its name is quite self-explanatory, it retrieves any printable string from a given file.
man strings
gives: