Multiple choice

Which command is used to compare two files and suggest changes to make them identical?

  1. comm

  2. diff

  3. cmp

  4. dircmp

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

The diff command uses certain special symbols and instructions to indicate the changes that are required to make two files identical.