hexdump
alllinux
Display file contents in hexadecimal, decimal, octal, or ASCII. Useful for inspecting dump file, binary data, or debug output. See also: `hexyl`, `od`, `xxd`.
More info →Examples (5)
Print the hexadecimal representation of a file, replacing duplicate lines by `*`
hexdump path/to/fileDisplay the input offset in hexadecimal and its ASCII representation in two columns
hexdump -C path/to/fileDisplay the hexadecimal representation of a file, but interpret only a specific number of bytes of the input
hexdump -C -n number_of_bytes path/to/fileVerbose - no suppression by `*` on duplicate lines
hexdump -v path/to/fileFormat output using printf-like format string
hexdump -e 'element_format .. end_format' path/to/filemade by @shridhargupta | data from tldr-pages