diff - Find Differences Between Two Files
The diff command provides a very useful function in that it can compare two text files and send the lines where they differ to the screen (standard output). Again the general form is:
diff [options] file1 file2
The output from diff will be only the lines in file1 and the corresponding lines in file2 where the two files differ.
A similar command, cmp, will compare two files but just give information as whether the files were identical or not.
Home - Table Of Contents - Contact Us
CertiGuide to A+ (A+ 4 Real) (http://www.CertiGuide.com/apfr/) on CertiGuide.com
Version 1.0 - Version Date: March 29, 2005
Adapted with permission from a work created by Tcat Houser et al.
CertiGuide.com Version © Copyright 2005 Charles M. Kozierok. All Rights Reserved.
Not responsible for any loss resulting from the use of this site.