Text files make up a large portion of the Linux operating system. Source code, configuration files, and log files are all simple text files. Thus, Unix developers in their infinite wisdom, have provided us with three commands that allow us to compare two text files and discover the differences.