Most viewed posts
Search
Reply to comment
Linux Command: diff
| See the examples |
diff [options] file1 file2
--horizon-lines=n -u Unified diff: print old and new versions of lines in a single block, with 3 lines surrounding each block of changed lines. |
Examples: |
$ diff -w file1 file2 Ignore white spaces $ diff -q file1 file2 Just aswer if two files are different
$ diff -y file1 file2 Show differences in columns
|