Go to the first, previous, next, last section, table of contents.
cmp
The cmp
command compares two files, and if they differ, tells the
first byte and line number where they differ. Its arguments are as
follows:
cmp options... from-file [to-file]
The file name `-' is always the standard input. cmp
also
uses the standard input if one file name is omitted.
An exit status of 0 means no differences were found, 1 means some differences were found, and 2 means trouble.
cmp
Below is a summary of all of the options that GNU cmp
accepts.
Most options have two equivalent names, one of which is a single letter
preceded by `-', and the other of which is a long name preceded by
`--'. Multiple single letter options (unless they take an
argument) can be combined into a single command line word: `-cl' is
equivalent to `-c -l'.
cmp
.
Go to the first, previous, next, last section, table of contents.