mirror of https://github.com/CrimsonTome/tldr.git
12 lines
233 B
Markdown
12 lines
233 B
Markdown
|
# cmp
|
||
|
|
||
|
> Compare two files.
|
||
|
|
||
|
- Find the byte number and line number of the first difference between the files:
|
||
|
|
||
|
`cmp {{file1}} {{file2}}`
|
||
|
|
||
|
- Find the byte number and differing bytes of every difference:
|
||
|
|
||
|
`cmp -l {{file1}} {{file2}}`
|