hexyl

A command-line hex viewer with colored output and ASCII representation

brewmacoslinux
Try with needOr install directly
Source

About

Command-line hex viewer

Commands

hexyl

Examples

View the hex dump of a file$ hexyl /path/to/file
View only the first 256 bytes of a file$ hexyl --length 256 /path/to/file
View hex dump starting from byte offset 100$ hexyl --skip 100 /path/to/file