How to compare two files line by line

Hi All,
I am looking for a script to compare content of two files.
It could be a shell script

Thank you,
deepak_tyco
(krupa)
deepak_tycoAsked:
Who is Participating?
 
medveddCommented:
diff command will compare two files. It has many options - read manual.
0
 
joolsCommented:
I prefer sdiff (if available) myself, just max out the terminal window for a better view...
0
 
TintinCommented:
What type of output do you want?

You could use

diff
sdiff
cmp
0
 
deepak_tycoAuthor Commented:
Thank you
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.