commands.sh

strings

all

Find printable strings in an object file or binary.

More info →

Options (2)

-n, --bytesboolean

Limit results to strings at least n characters long

Example: strings {{[-n|--bytes]}} {{n}} {{path/to/file}}
-t, --radixboolean

Prefix each result with its offset within the file

Example: strings {{[-t|--radix]}} d {{path/to/file}}

Examples (4)

Print all strings in a binary

strings path/to/file

Limit results to strings at least n characters long

strings [-n|--bytes] n path/to/file

Prefix each result with its offset within the file

strings [-t|--radix] d path/to/file

Prefix each result with its offset within the file in hexadecimal

strings [-t|--radix] x path/to/file
made by @shridhargupta | data from tldr-pages