cmp – compare two files
The options are:
Print the byte number (decimal) and the differing bytes (hexadecimal) for each difference.
Print the line number of the first differing byte.
Print nothing for differing files, but set the exit status.
If offsets are given,
comparison starts at the designated byte position
of the corresponding file.
Offsets that begin with
If a file is inaccessible or missing, the exit status is