diff <(xxd file1.bin) <(xxd file2.bin)
export PATH=$PATH:/usr/bin
| Task | Alternative | |------|--------------| | Hex dump of file | od -tx1 -Ax file | | Hex dump with ASCII | hexdump -C file | | Create binary from hex | perl -e 'print pack("H*", <>)' | | Simple hex view | python3 -c "import sys; print(open(sys.argv[1], 'rb').read().hex())" file | xxd command not found