hexyl

A simple hex viewer for the terminal. Uses colored output to distinguish different categories of bytes. More information: https://github.com/sharkdp/hexyl.

hexyl path/to/file

hexyl -n n path/to/file

hexyl -r 512:1024 path/to/file

hexyl -r 1024:+512 path/to/file