May 2000
Beginner
761 pages
18h 20m
English
cmp [ –l ] [ –s ] filename1 filename2
The two files are compared. cmp makes no comment if the files are the same; if they differ, it announces the byte and line numbers at which the first difference occurred.
cmp file.new file.old
|
Explanation
If the files differ, the character number and the line number are displayed.
Read now
Unlock full access