hexyl

A simple hex viewer for the terminal. Uses colored output to distinguish different categories of bytes.

TLDR

Print the hexadecimal representation of a file

>_ hexyl [path/to/file]
copy

Print the hexadecimal representation of the first n bytes of a file

>_ hexyl -n [n] [path/to/file]
copy

Print bytes 512 through 1024 of a file

>_ hexyl -r [512]:[1024] [path/to/file]
copy

Print 512 bytes starting at the 1024th byte

>_ hexyl -r [1024]:+[512] [path/to/file]
copy

Copied to clipboard
free 100$ digital ocean credit