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
What are the unix commands?
What is the command to find hidden files in the current directory?
What does find command return in unix?
What does sed command do in unix?
How do you grep a case insensitive?
How can we use grep command in unix?
What is the use of find command in unix?
Write a command to display a file’s contents in various formats?
Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?
Which command is used to find whether the system is 32 bit or 64 bit?
Explain ‘library functions’ with respect to unix commands?
Explain command to display different lines that are found when compare two files?
Is ‘du’ a command? If so, what is its use?
What is ctrl d?
What is time_t?