two text files

Hey all,
I am trying to write a script to compare two files...

e.g.
file1 :

01_023 23456
11_234 23546
12_134 23654

file2 :

01_023 23547
10_143 23498
13_154 23091
11_234 23093

I need to write a script whenever column1 of file1 and file2 are same output me the column2 of file 1 and file2 for the corresponding line.

Tx in advance

Read the Man page on awk, diff, cmp...these should be all you require. Once you write the script and need help troubleshooting, post back.