hexd

Colourful, human-friendly hexdump tool for viewing binary files

brewmacoslinux
Try with needOr install directly
Source

About

Colourful, human-friendly hexdump tool

Commands

hexd

Examples

Display hex dump of a binary file with color$ hexd /usr/bin/ls
View hex dump of a file with limited output (first 256 bytes)$ hexd -n 256 myfile.bin
Pipe command output directly to hexd for inspection$ echo 'Hello World' | hexd