---

Linux cmp command tutorial for beginners (7 examples)

Pretty much regardless of your role, if your regular work involves doing stuff on the command line in Linux, you may find yourself in a situation where-in you’d want to compare two files using a command line utility. There are several command line tools that let you do this, and one among them is the ‘cmp’ command.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis