HomeUNIXSearch for text in binary files

Search for text in binary files

Unix commands and examples for finding text in binary files.

To extract all text strings from a file, use:

strings filename

To search for all occurrences of the text “maybe” in the binary file filename use:

strings filename | grep maybe

Quinn McHenry
Quinn McHenry
Quinn was one of the original co-founders of Tech-Recipes. He is currently crafting iOS applications as a senior developer at Small Planet Digital in Brooklyn, New York.


Please enter your comment!
Please enter your name here

- Advertisment -

Most Popular

Recent Comments

error: Content is protected !!