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

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is grep family in unix?

507


What is regular file in unix?

469


Is a directory unix?

472


What is the full form of unix?

455


What is unix mtime?

506






What do you mean by the protection fault?

553


How to move files from one directory to other in unix?

485


What is piping?

538


How do I find my unix os version?

506


What is $# in unix?

497


What is the full meaning of unix?

488


What is source unix?

497


What are the hidden files in unix?

552


What unix is mac os based on?

506


Explain different types of Unix systems.

544