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 does the md command do?

578


What is the use of the tee command?

602


What does find command return in unix?

598


Which command is used to kill the last background job?

784


what is the advaantage of each user having its own copy of the shell?

2039






What command will change your prompt to myprompt?

707


What are grep patterns?

580


How do I use grep to search for a file?

584


Write a command to display a file’s contents in various formats?

629


What is rmdir command?

555


What does the command ' $who | sort –logfile > newfile' do?

773


What is the difference between cat and more command?

627


What is grep command in unix with examples?

613


Is grep faster than awk?

563


What difference between cmp and diff commands?

727