Multiple choice unix

The command used to compare the files is known as

  1. comp

  2. cmp

  3. do

  4. ccp

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The cmp command compares two files byte by byte and reports the location of the first difference. It's different from the diff command which shows line-by-line changes. The other options (comp, do, ccp) are not standard Unix file comparison commands.