mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-15 17:48:49 +00:00
Update cheatsheets
This commit is contained in:
25
strings
Normal file
25
strings
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# strings
|
||||
|
||||
> Find printable strings in an object file or binary.
|
||||
> More information: <https://manned.org/strings>.
|
||||
|
||||
- Print all strings in a binary:
|
||||
|
||||
`strings {{path/to/file}}`
|
||||
|
||||
- Limit results to strings at least n characters long:
|
||||
|
||||
`strings -n {{n}} {{path/to/file}}`
|
||||
|
||||
- Prefix each result with its offset within the file:
|
||||
|
||||
`strings -t d {{path/to/file}}`
|
||||
|
||||
- Prefix each result with its offset within the file in hexadecimal:
|
||||
|
||||
`strings -t x {{path/to/file}}`
|
||||
Reference in New Issue
Block a user