25 Dec cmp Command – Compare Files The command cmp is similar to diff: # cmp file1 file2 file1 file2 differ: byte 10, line 1