command to display different lines that are found when
compare two files?

Answers were Sorted based on User's Feedback



command to display different lines that are found when compare two files?..

Answer / 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

command to display different lines that are found when compare two files?..

Answer / hari

cmp file1 file2

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More Unix General Interview Questions

What is the difference between unix and windows operating system?

0 Answers  


Was unix the first operating system?

0 Answers  


What is pattern matching in unix?

0 Answers  


Is mac a unix?

0 Answers  


Which language is used in unix?

0 Answers  






List the distributions of unix.

0 Answers  


How do I show hidden files in unix?

0 Answers  


What are the phases of swapping a page from the memory?

0 Answers  


What is unix full form?

0 Answers  


How to display the contents of a file?

0 Answers  


How to find a file in unix?

0 Answers  


how do display only hidden files in unix?

15 Answers   Accenture,


Categories