command to display different lines that are found when
compare two files?
Answer Posted / prakash singh syan
diff file1 file2
Above command will display all the lines which r diff in
file1 & file2 whereas, cmp will only display 1st occurance
of difference.
| Is This Answer Correct ? | 14 Yes | 1 No |
Post New Answer View All Answers
How do you change directories in unix?
What does tr H do in unix?
What is the core of unix operating system?
How to remove files in unix?
What is the chief difference between the –v and –x option s to set?
What is unix kernel?
What are the entities that are swapped out of the main memory while swapping the process out of the main memory?
Who owns the unix trademark today?
How to list directories in unix?
Describe the concept of “region”.
What are some common shells and what are their indicators?
List a few significant features of unix?
List the different types of files that can be made available with unix?
How to display the contents of a file?
What are the criteria for choosing a process for swapping into memory from the swap device?