Search for text in binary files

Contributor Icon Contributed by qmchenry  
Tag Icon Tagged: UNIX  

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

 

No Comments -


No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment -