Tuesday, June 2, 2009

Diff command in unix

diff command is used to find the difference between 2 files in Unix.

Some of the important options in it:

diff -y - This will display the output in 2 colums. So that you can see the difference clearly.

diff -y --suppress-common-lines - This will suppress the lines which are common and display only the lines which they differ in 2 columnar output.

No comments:

Post a Comment