what is the difference between commmands cmp and diff?
Answer Posted / suitable
The cmp command compares two files of any type and writes
the results to the standard output. By default, cmp is
silent if the files are the same; if they differ, the byte
and line number at which the first difference occurred is
reported.
diff command find differences between two files
Is This Answer Correct ? | 56 Yes | 11 No |
Post New Answer View All Answers
What command will change your prompt to myprompt?
What is pipe command in unix?
Explain ‘library functions’ with respect to unix commands?
Explain command to view process running?
Which unix command to make a new directory?
What is sed awk grep?
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system.
How can i findthe right soluion???
My pgm:
#include
Enlist some filename manipulation commands in unix.
What is the command to view process running?
Explain how to use grep command to list find the records of a file containing 10 different strings?
What is command statement?
Explain command to display different lines that are found when compare two files?
Who invented grep?
What is the difference between cat and more command?