xxd Command Cheat Sheet
xxd creates a hex dump of a given file or converts a hex dump back to binary.
Create Hex Dump
xxd file.bin
Reverse Hex to Binary
xxd -r -p hex.txt > binary.out
Dump Only Bytes
xxd -p file.txt
xxd creates a hex dump of a given file or converts a hex dump back to binary.
xxd file.bin
xxd -r -p hex.txt > binary.out
xxd -p file.txt