Personal tools

Difference between revisions of "Diff"

From MohidWiki

Jump to: navigation, search
 
m (1 revision)
 
(No difference)

Latest revision as of 11:27, 3 December 2008

Diff is a nice little utility that allows to check two files and see which lines are different.

Examples

This example will show the differences between file1 and file2:

> diff file1 file2

This example will only output if the files are different:

> diff -q file1 file2

External References