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 is the difference between cat command and more command?
What does the command ' $who | sort –logfile > newfile' do?
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 sed awk grep?
What do chmod, chown, chgrp commands do?
What are the commands in UNIX to list the files in a Directory?
Write a command to display a file’s contents in various formats?
What is awk good for?
What are the unix commands?
Name the unix command to find how many days the server has been up.
What is “chmod” command?
What is the use of cut command in unix?
What are file commands?
What does touch command do in unix?
What is .sh file?