Custom Search

Dec 6, 2011

Linux Tips: using diff – view differences side by side

terminal_thumb[2]
To view the differences side by side between two files:
 
diff -y FILE1 FILE2 | less

Using this on large diffs, can quickly show you exactly what changed between the two files in a  human readable format.

No comments:

Post a Comment