Descriptions (Last checked against version &diffutils-contversion;.) Program file descriptions cmp compares two files and reports whether or in which bytes they differ. diff compares two files or directories and reports which lines in the files differ. diff3 compares three files line by line. sdiff merges two files and interactively outputs the results.