cmp and diff commands

Explain the difference between” cmp” and “diff” commands?

E

Expert

Verified

cmp – This command compares the two files byte by byte and shows the first mismatch.

diff – This command tells the changes which is to be made in order to form the identical files.

   Related Questions in Programming Languages

©TutorsGlobe All rights reserved 2022-2023.