mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-04 20:35:34 +02:00
Update od.md
Fixed
This commit is contained in:
parent
de1d5b05fa
commit
25a9bc4ae4
1 changed files with 10 additions and 10 deletions
|
@ -1,17 +1,17 @@
|
||||||
# od
|
# od
|
||||||
|
|
||||||
> Display file contents in hexadecimal, octal or printable character format optionally along with
|
> Display a file contents in hexadecimal, octal, or printable character format.
|
||||||
> the byte offsets into the file
|
> Optionally display the byte offsets into the file.
|
||||||
|
|
||||||
- Display file in octal format with the byte offsets in octal as well :
|
- Display file in octal format with the byte offsets in octal as well:
|
||||||
|
|
||||||
`od --address-radix=o --format=o -v {{/path/to/file}}`
|
`od --address-radix=o --format=o -v {{/path/to/file}}`
|
||||||
|
|
||||||
- Display file in hexadecimal format with byte offsets in hexadecimal, 4 bytes per line with each entry 1 byte long :
|
- Display file in hexadecimal format with byte offsets in hexadecimal, 4 bytes per line with each entry 1 byte long:
|
||||||
|
|
||||||
`od --address-radix=x --format=x1 --width=4 -v {{/path/to/file}}`
|
`od --address-radix=x --format=x1 --width=4 -v {{/path/to/file}}`
|
||||||
|
|
||||||
- Display only printable strings of at least 5 characters long in the file along with the byte offsets in hexadecimal :
|
- Display only printable strings of at least 5 characters long in the file along with the byte offsets in hexadecimal:
|
||||||
|
|
||||||
`od --address-radix=x --string=5 -v {{/path/to/file}}`
|
`od --address-radix=x --string=5 -v {{/path/to/file}}`
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue