How to compare binary files to check if they are the same?

前端 未结 14 707
傲寒
傲寒 2020-12-07 09:25

What is the easiest way (using a graphical tool or command line on Ubuntu Linux) to know if two binary files are the same or not (except for the time stamps)? I do not need

14条回答
  •  悲&欢浪女
    2020-12-07 09:59

    You can use MD5 hash function to check if two files are the same, with this you can not see the differences in a low level, but is a quick way to compare two files.

    md5 
    md5 
    

    If both MD5 hashes (the command output) are the same, then, the two files are not different.

提交回复
热议问题