1
0
Fork 0
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:
Zheng Hao Tan 2018-02-20 13:02:34 -06:00 committed by Starbeamrainbowlabs
parent b66a1c9180
commit 87b109d388
2 changed files with 30 additions and 0 deletions

15
pages/linux/hexdump.md Normal file
View 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
View 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}}`