What is the difference between cmp and diff?

What will be an ideal response?


The cmp command compares two files of any type and tells you whether they are the same or not
(or which bytes of binary files differ). The diff command compares two text files and creates
specific output telling you which line(s) are different.

Computer Science & Information Technology

You might also like to view...

The four separate functions of the Advanced Encryption Standard are: permutation, arithmetic operations over a finite field, XOR with a key, and __________ .

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Which VPN protocol uses IPsec to provide data encryption?

A. PPTP B. L2TP C. SSTP D. PPP

Computer Science & Information Technology

The fastest data transfer port is an HDMI port

Indicate whether the statement is true or false

Computer Science & Information Technology

One popular plug-in is the Acrobat Reader for displaying ____ files.

A. PDF B. TIFF C. MIDI D. XML

Computer Science & Information Technology