Are cmp compare two files with the same
use:
cmp file1 file2
1. cmp program byte by byte compare two files to see if two files are identical.
2. If the two files are identical then there is no message, if a different message is displayed.
3. cmp program can compare binary files or text files.