Unix General Question: Download Questions PDF
Explain command to display different lines that are found when compare two files?
![Unix General Interview Answer Unix General Interview Question](https://globalguideline.com/public/images/interview/2.png)
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.
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 Question | Next Question |
Explain command to show the space allocation of files? | How to move a background job to forward? |