| Main index | Section 1 | 日本語 | Options |
If no file name is specified as an argument, standard input is read.
The following options are available:
| | |
| For ELF objects, scan the entire file for printable strings. | |
| | |
| Select the character encoding to be used while searching for strings. Valid values for argument encoding are: | |
| s | for single 7-bit-byte characters (ASCII, ISO 8859). |
| S | for single 8-bit-byte characters. |
| l | for 16-bit little-endian. |
| b | for 16-bit big-endian. |
| L | for 32-bit little-endian. |
| B | for 32-bit big-endian. |
| | |
| Print the name of the file before each string. | |
| | |
| Print a usage summary and exit. | |
| | |
|
Equivalent to specifying
| |
| | |
| Print the offset from the start of the file before each string using the specified radix. Valid values for argument radix are: | |
| d | for decimal |
| o | for octal |
| x | for hexadecimal |
| | |
| Display a version identifier and exit. | |
$ strings /bin/ls
To display strings in all sections of /bin/ln use:
$ strings -a /bin/ln
To display strings in all sections of /bin/cat prefixed with the filename and the offset within the file use:
$ strings -a -f -t x /bin/cat
| STRINGS (1) | January 24, 2016 |
| Main index | Section 1 | 日本語 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
