od

Display file contents in octal, decimal or hexadecimal format.
Optionally display the byte offsets and/or printable representation for each line.
More information.
od {path/to/file}
od -v {path/to/file}
od --format={x} --address-radix={d} -v {path/to/file}
od --format={x1} --width={4} -v {path/to/file}
od --format={xz} --address-radix={n} -v {path/to/file}
od --read-bytes {100} --skip-bytes={500} -v {path/to/file}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).
CC-BY