The cmp utility compares two files byte-by-byte. The -s option runs it silently, returning an exit status of 0 if the files are identical, and 1 if they differ. Other options like -diff are invalid, and a non-zero or 1 exit status indicates differences or errors.