diff is a shell command to find differences between two files. It is common on all *nix based systems
In computing, diff is a file comparison utility that outputs the differences between two files. It is typically used to show the changes between one version of a file and a former version of the same file.
Diff displays the changes made per line for text files.
The output is called a "diff", or a patch, since the output can be applied with the Unix program patch. The output of similar file comparison utilities are also called a "diff".
man diff in a shell to get full documentation.