Difference between files

Hello,

I have two programs abc/pqr/test and abc/xyz/test in two different directories. These programs are almost same but with two or three differences in code... Now i would like to know the command which shows the difference between these programs....
I guess a command "diff".. but i dont know the usage...

Any suggestions please

did you try the man pages for diff?

yes.. i did.. and i got the solution.. thankx....is there any other command apart from diff???

The man page also says...

SEE ALSO
       cmp(1), comm(1), diff3(1), ed(1), patch(1), pr(1), sdiff(1).