compare two directories | diff /directory1 /directory2 |
compare two files | cmp file1 file2 |
compare two files and show specific differences-i=ignore case-b=ignore blanks-w=ignore spaces and tabs | diff -iwb file1 file2 |
compare two files side-by-side| lines are the same< line is in first file only> line is in second file only | sdiff file1 file2 |
compare two files side-by-side showing only differences | sdiff -s file1 file2 |
Wednesday, March 30, 2011
Compare Files and Directories
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment