01 / 07
The tool that answers "what changed?"
The chapter finishes with diff, which shows the difference between two files.
You reach for it in moments like these.
- You edited a configuration file. What did you change again?
- The copy from when it worked, and the one you have now. What differs?
- Two lists of names. Who is only on one of them?
Comparing by eye is hard work and you miss things. diff tells you only what differs.