od Command Examples

Display file contents in octal, decimal or hexadecimal format. Optionally display the byte offsets and/or printable representation for each line. More information: https://www.gnu.org/software/coreutils/manual/html_node/od-invocation.html.

od {{path/to/file}}

od {{[-v|--output-duplicates]}} {{path/to/file}}

od {{[-t|--format]}} {{x}} {{[-A|--address-radix]}} {{d}} {{[-v|--output-duplicates]}} {{path/to/file}}

od {{[-t|--format]}} {{x1}} {{[-w|--width=]}}{{4}} {{[-v|--output-duplicates]}} {{path/to/file}}

od {{[-t|--format]}} {{xz}} {{[-A|--address-radix]}} {{n}} {{[-v|--output-duplicates]}} {{path/to/file}}

od {{[-N|--read-bytes]}} 100 {{[-j|--skip-bytes]}} 500 {{[-v|--output-duplicates]}} {{path/to/file}}