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 does grep v grep do?
What are some command words?
What is grep command in unix with examples?
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)?
What is a command and examples?
Which command is used to copy files?
How does the system know where one command ends and another begins?
What is the command to compare two files in unix?
What does touch command do in unix?
Does cp command overwrite files?
What is the behavioural difference between cmp and diff commands?
why metadb requires a seperate slice to create Solaris volume manager
hw will u use awk in replacing cahrs and files
How can you see the command line history?
what is the advaantage of each user having its own copy of the shell?