14387 shaares
5333 private links
5333 private links
On Unix-like operating systems, the diff command analyzes two files and prints the lines that are different. In essence, it outputs a set of instructions for how to change one file to make it identical to the second file.
This page covers the GNU/Linux version of diff.