How do I compare binary files in Linux? xxd filebin | od -x filebin

 % xxd b1 > b1.hex
 % xxd b2 > b2.hex
And then
 % diff b1.hex b2.hex
od -x <file>

Comments

Popular posts from this blog

HAproxy logging

teamcity Automatic Agent Start under Linux

15 managing disk - understanding /etc/fstab xfs_admin mount -o rw,remount /