1
0
mirror of https://github.com/cheat/cheat.git synced 2025-07-04 12:51:57 +02:00

Merge pull request from fmunch/od

Added od cheatsheet
This commit is contained in:
Chris Lane
2013-09-14 14:10:41 -07:00

11
cheatsheets/od Normal file

@ -0,0 +1,11 @@
# Dump file in octal format
od /path/to/binaryfile
od -o /path/to/binaryfile
od -t o2 /path/to/binaryfile
# Dump file in hexadecimal format
od -x /path/to/binaryfile
od -t x2 /path/to/binaryfile
# Dump file in hexadecimal format, with hexadecimal offsets and a space between each byte
od -A x -t x1 /path/to/binaryfile