cheat-fork-echo/cheat/cheatsheets/od

12 lines
321 B
Text
Raw Permalink Normal View History

2013-09-14 22:19:46 +02:00
# 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