cmp

The cmp linux command related content page.

cmp (linux command)

The manual page and help for the cmp linux command. The cmp program compares two arbitrary file types and prints the result to standard output. By default, cmp does not print anything if the two files are the same. If different, prints the byte position and the line number where the first difference occurred.