diff is a command-line utility that allows you to compare two files line by line. It can also compare the contents of directories.
Read more