HexView provides a clean, Unix-style command-line interface for inspecting binary files.
hexview --show <filepath> [options]
# Alternatively using short-hands
hexview -s <filepath> [options]| Flag | Abbreviation | Description |
|---|---|---|
--help |
-h |
Prints the help message and exits. |
--version |
-v |
Prints the version information and exits. |
--show |
-s |
Specifies the target file to open and display. |
--offset |
Adds a byte offset column to the left of the hex output. | |
--ascii |
Adds an ASCII character representation column to the right. | |
--length |
Specifies how many bytes to print per line (Min: 1, Max: 255). Default is 8. |
Display a file with the default 8 bytes per line:
hexview --show file.binDisplay the offset, hex, and ASCII characters side-by-side:
hexview -s file.bin --offset --asciiRead 16 bytes per line:
hexview -s file.bin --offset --ascii --length 16