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

0 Answers  


What is source unix?

0 Answers  


how do you move a backgrounnd job to forward?

3 Answers   Cap Gemini,


What are internal and external commands in unix?

0 Answers  


What is meant by the term super user?

0 Answers  






What is the best free unix based os?

0 Answers  


What is .login file in unix?

0 Answers  


Is android unix based?

0 Answers  


Explain a path in unix.

0 Answers  


Is unix cli or gui?

0 Answers  


What is pipe in unix example?

0 Answers  


Explain about shell aritmetic operators and functions?

0 Answers   HCL,


Categories