cmp
Compare two files byte by byte.
- Find the byte and line number of the first difference between two files:
cmp {path/to/file1} {path/to/file2}
- Find the byte number and differing bytes of every difference:
cmp -l {path/to/file1} {path/to/file2}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).