mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-10-28 23:17:58 +01:00
hexdump: add page (#2005)
This commit is contained in:
parent
b66a1c9180
commit
87b109d388
2 changed files with 30 additions and 0 deletions
15
pages/linux/hexdump.md
Normal file
15
pages/linux/hexdump.md
Normal file
|
@ -0,0 +1,15 @@
|
|||
# hexdump
|
||||
|
||||
> An ASCII, decimal, hexadecimal, octal dump.
|
||||
|
||||
- Print the hexadecimal representation of a file:
|
||||
|
||||
`hexdump {{file}}`
|
||||
|
||||
- Display the input offset in hexadecimal and its ASCII representation in two columns:
|
||||
|
||||
`hexdump -C {{file}}`
|
||||
|
||||
- Display the hexadecimal representation of a file, but interpret only n bytes of the input:
|
||||
|
||||
`hexdump -C -n{{number_of_bytes}} {{file}}`
|
15
pages/osx/hexdump.md
Normal file
15
pages/osx/hexdump.md
Normal file
|
@ -0,0 +1,15 @@
|
|||
# hexdump
|
||||
|
||||
> An ASCII, decimal, hexadecimal, octal dump.
|
||||
|
||||
- Print the hexadecimal representation of a file:
|
||||
|
||||
`hexdump {{file}}`
|
||||
|
||||
- Display the input offset in hexadecimal and its ASCII representation in two columns:
|
||||
|
||||
`hexdump -C {{file}}`
|
||||
|
||||
- Display the hexadecimal representation of a file, but interpret only n bytes of the input:
|
||||
|
||||
`hexdump -C -n{{number_of_bytes}} {{file}}`
|
Loading…
Reference in a new issue