what is the difference between commmands cmp and diff?
Answer Posted / sai kiran
cmp---give the first instance of differnce and place like
line and char number in that line
diff--gives the complete differences in the file with the text
> means which has in second file not in first file
< means which has in first file not in second file
Is This Answer Correct ? | 11 Yes | 5 No |
Post New Answer View All Answers
Which command is used to find whether the system is 32 bit or 64 bit?
What command is used to check the current users?
Explain command to view process running?
How to use grep command to list find the records of a file containing 10 different strings?
Which command will print your home directory on screen?
Which unix command lists files/folders in alphabetical order?
What is the nmap command?
What is the use of finger command?
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
What is grep and how do you use it?
Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?
What is the function of grep command in unix?
What do chmod, chown, chgrp commands do?
Explain mount and unmount command.
What is used to type command?