Added od cheatsheet
This commit is contained in:
1 parent
78532d804b
commit
71e9f11e83
1 file changed
+11
@@ -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
|
||||
Reference in new issue
Block a user