strings
Use
strings /bin/ls | less
What It Does
strings extracts readable byte sequences from binary-looking files.
Real Examples
Inspect a system binary safely:
strings /bin/ls | less
Search for URLs or paths inside a binary:
strings /usr/bin/curl | grep -i http | head
Compare with exact bytes:
xxd /bin/ls | head
Watch Out
strings ignores file structure. A readable word inside a binary is evidence, not proof of meaning.
Docs Pointers
- Run
man strings. - Read file encoding, file, xxd, and regular expressions.

Linux Foundations