I have a bunch of binaries and I know that inside these binaries there are strings I want to find.
I want to do a:
grep -lir "the string I am looking for"
and get a list of all binaries inside a particular directory that contain that string but grep -lir
is apparently not working with these files.
Is there a command that can do this kind of search from terminal?
strings
, read here for more details. – cuonglm Jul 24 '15 at 01:55strings -f
would be more appropriate. – jamesdlin Jul 24 '15 at 09:51