cmp

A command that compares two files byte by byte and reports the first difference.

In more detail

Unlike diff, it works on binary files such as disk images. A quiet run with no output means the files are identical.

Related terms

Taught in

References

Certification courses