what is the difference between cmp and diff commands

Answer Posted / supreetha

cmp--> shows the first difference in the files

diff--> shows all the differences in the files

Is This Answer Correct ?    17 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write down the syntax for all the loops in shell scripting.

660


How to pass an argument to a script?

594


Tell something about the super block in shell scripting?

571


What are the zombie processes?

565


c program which behaves like a shell(command interpreter). it has its own prompt say "NewShell$".any normal shell command is executed from your shell by starting a child process to execute a system program corrosponding to the command

4690






What is batch file programming?

693


How do I run a powershell script?

576


What is bash coding?

497


What is an sh file?

555


Please give me example of " at command , contrab command " how to use

2325


How do I stop script errors?

573


What is the first line in a shell script?

555


How do I debug a shell script?

563


What are scripts in psychology?

592


How will you print the login names of all users on a system?

573