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
Explain some of the fundamental concepts of unix?
How to get the last word from a line in Unix file?
What do you mean by unix operating system?
How does the kernel differentiate device files and ordinary files?
What are the common directory management commands in unix?
What are three main elements of unix operating system?
What is pattern matching in unix?
How would you explain a kernel to a non-technical person?
How to list directories in unix?
What is the full meaning of unix?
Is unix free?
How can you get/set an environment variable from a program?
How many root directories exist in unix?
What is process termination in unix?
What are the bits that support the demand paging?