mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-09-01 05:45:33 +08:00
cmp: add page
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
# 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}}`
|
||||
Reference in New Issue
Block a user