mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 04:24:54 +02:00
commit
848cea183e
1 changed files with 11 additions and 0 deletions
11
pages/common/cmp.md
Normal file
11
pages/common/cmp.md
Normal file
|
@ -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}}`
|
Loading…
Add table
Reference in a new issue