Thursday, May 16, 2024
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.
RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

LATEST REVIEWS

Recent Comments

error: Content is protected !!