1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/strings.md

20 lines
391 B
Markdown
Raw Normal View History

2015-12-30 15:22:13 -07:00
# strings
> Find printable strings in an object file or binary.
2015-12-30 15:22:13 -07:00
- Print all strings in a binary:
2015-12-30 15:22:13 -07:00
`strings {{file}}`
- Limit results to strings at least *length* characters long:
2015-12-30 15:22:13 -07:00
`strings -n {{length}} {{file}}`
- Prefix each result with its offset within the file:
2015-12-30 15:22:13 -07:00
`strings -t d {{file}}`
- Prefix each result with its offset within the file in hexadecimal:
2015-12-30 15:22:13 -07:00
`strings -t x {{file}}`