Linux Terminal Glossary
›
File Operations
cmp file1 file2
Category:
File Operations
cmp file1 file2
Copy command
Compare two files byte by byte
Compares two files byte by byte and reports the first position where they differ — more precise than diff.
Looking for more?
Search all 7,657 commands
— works offline, in English or Spanish, and fixes typos.