CMP Commands Cheat Sheet
Here is a cli commands cheat sheet for CMP command, you can use this as a quick reminder for basic commands with a brief description for each of the commands.
What is CMP command?
Add some data here
--- syntax: bash --- # To output the byte and line number of the first difference found between two files: cmp# To output the first differing char between two files: cmp -b # To output every difference between two files: cmp -b --verbose # To compare two files starting after the first 100 bytes: cmp -i 100 # To limit to 200 the number of bytes to compare: cmp -n 200 # To compare two files with no output - only exit status: cmp --quiet
Check out the CMP command documentation .
You can also check our MegaSh cheatsheet tool, that has 150+ searchable linux cheat sheets in one page, so you never forget a command as you work again