Ravi Sir's Cards › AWS
Compare files
This revision card explains Compare files. It starts from the need that know exactly what changed. It describes diff lines, comm lists, cmp bytes. The how-to section notes -u shows a readable patch. An example on the card is review a config change.
Read card text
What this card says
Why do we need it?
Know exactly what changed.
What is it?
diff lines, comm lists, cmp bytes.
How to do it
-u shows a readable patch.
Example
Review a config change.
diff -u app.conf.bak app.conf