Tuesday, 27 July 2010

How to compare two files ?

To compares two files, reporting all discrepancies. Similar to the cmp command, though the output format differs.



$ diff file1 file2

No comments:

Post a Comment