March 2012
Beginner to intermediate
230 pages
7h 27m
English
strings — stdin stdout - file -- opt --help --version
strings [options] [files]
Binary files, such as executable programs and object files,
usually contain some readable text. The strings program extracts that text and
displays it on standard output. You can discover version
information, authors’ names, and other useful tidbits with strings.
$ strings /usr/bin/who
David MacKenzie
Copyright %s %d Free Software Foundation, Inc.
Report %s bugs to %s
...Combine strings and
grep to make your exploring more
efficient. Here we look for email addresses:
$ strings /usr/bin/who | grep '@' bug-coreutils@gnu.org
|
|
Display only strings
with length greater than |
Read now
Unlock full access