We can use
diff to compare to text files, but it doesn't work very well for binary files. Let’s say two images a.png and b.png needs to be compared. Simply using diff doesn’t take us far.
> diff a.png b.png Binary files a.png and b.png differ
A command to produce hexdump, xxd for exam...