Low Orbit Flux Logo 2 F

Linux Command - Hexdump

The linux hexdump command can be used to display files in hex ( or other ) formats. It is great for viewing binary data or text data with special chartacters.

Show data in two byte hex ( chars are doubled up bytes ):



hexdump  test1.text

Use hd for short ( just a link to hexdump ):



hd test1.txt

Nice format with hex and ASCII side by side:



hexdump -C web1.js

Display a binary file:



hexdump -C /usr/bin/ls

Use -v to avoid squeezing duplicate lines:



hexdump -Cv /usr/bin/ls