2025-03-14 21:59:59 -06:00
|
|
|
# hexyl
|
|
|
|
|
|
|
|
|
|
> A simple hex viewer for the terminal. Uses colored output to distinguish different categories of bytes.
|
2025-09-14 18:48:49 -06:00
|
|
|
> See also: `od`, `xxd`, `hexdump`.
|
2026-02-18 06:55:01 -07:00
|
|
|
> More information: <https://github.com/sharkdp/hexyl/blob/master/doc/hexyl.1.md>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Print the hexadecimal representation of a file:
|
|
|
|
|
|
|
|
|
|
`hexyl {{path/to/file}}`
|
|
|
|
|
|
|
|
|
|
- Print the hexadecimal representation of the first n bytes of a file:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`hexyl {{[-n|--length]}} {{n}} {{path/to/file}}`
|