Personal tools

Difference between revisions of "Diff"

From MohidWiki

Jump to: navigation, search
(No difference)

Revision as of 20:31, 24 June 2007

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