script needed

hi
i am new to linux world please help me,i have two files in diff location
i need to compare both and i need to see difference b/w them
ex /media/txt (file1)
xxxxxx
xxxxxx
xxxxx
xxxxxx
xxxxxx
/media/rev/ (file2) rev is a folder which contains some files so i need to compare the files in this folder and with file1

please suggest me

thanks revenna

check the diff command

file(2) : /media/rev/

the files is in rev folder

i need a script which should read directory rev files and compare with the master text file

thanks revenna

No duplicate or cross-posting, please read the rules.

Continue here:

http://www.unix.com/shell-programming-scripting/90122-script-needed.html\#post302259858

Thread closed.