tldr/pages/common/cmp.md

12 lines
233 B
Markdown
Raw Normal View History

2016-02-23 01:29:35 +00:00
# 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}}`