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 unix file?

0 Answers  


Is it possible to see information about a process while it is being executed?

0 Answers  


What does cp mean in unix?

0 Answers  


Why is unix better than windows?

0 Answers  


What are the main features of unix?

0 Answers  






Is mac built on unix?

0 Answers  


How do I find a pattern in unix?

0 Answers  


What is unix used for?

0 Answers  


Is unix the first operating system?

0 Answers  


What is page fault? Its types?

0 Answers  


How to list directories in unix?

0 Answers  


Where is unix used today?

0 Answers  


Categories