Home UNIX Search 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

LEAVE A REPLY

Please enter your comment!
Please enter your name here

error: Content is protected !!