what is the difference between commmands cmp and diff?

Answer Posted / rajesh kumar (cap)

The cmp command compares only first diffrence between two
file,but in case of diff will cmpare hole file diffrence.

Is This Answer Correct ?    39 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is command statement?

539


What is the pipe command?

572


What is difference between grep and find command in unix?

576


Using unix command how to display no of records in oracle?

602


What are the general commands in using unix os for a beginner?

575






Explain ‘library functions’ with respect to unix commands?

601


how to sort the content of the file based on numeric values

1242


What are the unix commands?

548


How do I run a bash script?

576


What is updatedb?

580


Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?

792


What is the command to find maximum memory taking process on the server?

665


Is ‘du’ a command? If so, what is its use?

629


hw will u use awk in replacing cahrs and files

2724


What do chmod, chown, chgrp commands do?

628