The command used to compare the files is known as A. comp B. cmp C. do D. ccp E. None of the above

[amp_mcq option1=”comp” option2=”cmp” option3=”do” option4=”ccp E. None of the above” correct=”option2″]

The correct answer is: B. cmp

The command used to compare the files is known as cmp. It is a command-line utility for comparing two files. It prints the lines that are different between the two files, and the number of lines that are different.

The other options are incorrect.

  • Option A, comp, is a command-line utility for compressing files.
  • Option C, do, is a command-line utility for running shell scripts.
  • Option D, ccp, is a command-line utility for copying files.
  • Option E, None of the above, is incorrect because it is not a valid option.