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 is {} in find command?
What is the difference between cat and more command?
how to sort the content of the file based on numeric values
What is ctrl d?
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 the use of finger command?
Explain mount and unmount command.
Explain the steps that a shell follows while processing a command.
How do you repeat a command in terminal?
How do I search for text in vi?
why metadb requires a seperate slice to create Solaris volume manager
Why is it called grep?
What is grep r?
What does grep v grep do?