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

tomcat catalina coyote jasper cluster

NFS mount add in fstab _netdev instead of default | firewall-cmd --list-all