hexdump โ€” Display file contents in hexadecimal, decimal, octal, or ASCII. Useful for inspecting dump file, binary data, or debug output. See also: `hexyl`, `od`, `xxd`. # source: tldr ยท verified Examples: # Print the hexadecimal representation of a file, replacing duplicate lines by '*' [GNU] $ hexdump path/to/file # Display the input offset in hexadecimal and its ASCII representation in two columns [GNU] $ hexdump [-C|--canonical] path/to/file # Display the hexadecimal representation of a file, but interpret only n bytes of the input [GNU] $ hexdump [-C|--canonical] [-n|--length] number_of_bytes path/to/file # โœŽ Wrong or incomplete? Improve this page โ†’ https://curlhub.sh/man/hexdump