strings [ –a|-|--all ] [-f|--print-file-name] [ –o ] [--help] [ –v|--version ] [-n min-len| min-len|--bytes=min-len] [-t {o,x,d} [--target=bfdname] [--radix={o,x,d}|] filename…]
The strings command looks for ASCII strings in a binary file. A string is any sequence of four or more printing characters ending with a newline or a null character. strings is useful for identifying random object files and many other things.
strings /bin/nawk | head -2
|
Explanation
Prints any ASCII text in the first two lines of the binary executable /bin/nawk.
18.225.235.144