• +91 9723535972
  • info@interviewmaterial.com

Unix Interview Questions and Answers

Question - What is the behavioral difference between “cmp” and “diff” commands?

Answer -

Both commands are used for file comparison.

  • Cmp – Compare given two files with byte by byte and display the first mismatch.
  • Diff – Display changes that need to do to make both files identical.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners