• +91 9723535972
  • info@interviewmaterial.com

Unix Interview Questions and Answers

Question - What is the behavioural difference between cmp and diff commands?

Answer - Despite the fact that both of these commands are meant for file comparison, there still remains a fundamental difference between the two. Cmp compares the two given files, byte by byte and displays the first mismatch. Diff displays the changes that need to be made in order to make both the files identical.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners