Unix General Question:
Download Questions PDF

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

Answer:

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.

Download Unix General Interview Questions And Answers PDF

Previous QuestionNext Question
Explain command to show the space allocation of files?How to move a background job to forward?