I have to compare maps/files on two seperate boxes and the output must be as following:
1)list the maps/file on box1
2)list the maps/file on box2
3)List maps in both the environments
a) which are same
b)which are different
Next, merge the two files into one larger file with sort.
Now you can awk to find the duplicates, and the checksums tell you if the files are the same or not. box1.lis and box2.lis tell you the names of all of the files on each box.
If this did not so homework-ish, I'd show the awk code.
Hi Jim t
thanks for the reply,but there is a constraint which i forgot to tell you and that is , i must be on the source server only and need to remotely log onto the target server using the ssh command.
Thank You once again