1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 16:22:08 +02:00
tldr/pages/common/cmp.md
2016-02-22 20:29:35 -05:00

11 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}}`