From 71e9f11e83c372c50bc785cf9c90142bf0284861 Mon Sep 17 00:00:00 2001 From: Florent Munch Date: Sat, 14 Sep 2013 22:19:46 +0200 Subject: [PATCH] Added od cheatsheet --- cheatsheets/od | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 cheatsheets/od diff --git a/cheatsheets/od b/cheatsheets/od new file mode 100644 index 0000000..55fd304 --- /dev/null +++ b/cheatsheets/od @@ -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