≡ Menu

Diff Command Example

For finding difference between two versions of a file on Linux, you can use any one of the 4 tools explained in this article -- diff, colordiff, wdiff, and vimdiff. The screenshots provided for these tools shows the difference between the following two empfile1.txt and empfile2.txt. $ cat empfile1.txt John Smith 1001 Sr. Engineer Peter [...]