1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-31 08:17:59 +01:00
tldr/pages/common/strings.md

20 lines
391 B
Markdown
Raw Normal View History

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