Difference in file 1 and file 2...output in file 3

Hi,
I have one file named abc.pc which is at
/rac/base

i have made the changes in abc.pc and have kept at
/rac/src

i have one path called as
/rac/diff

:/rac/diff --> i want to run my script here which will give me the output in a file_name.txt

Please guide.

Are you after the standard diff command (see the manual pages)

You may just need:-

diff /rac/base/abc.pc  /rac/src/abc.pc > /rac/diff/file_name.txt

Of course, you haven't given us much to go on, so I may have missed the requirement completely. Please explain if I have.

I hope that this helps
Robin
liverpool/Blackburn
UK