i have one file which exists in 2 different unix machines. how i can compare the data with in the file
|
feedback
|
|
You can compare files remotely using ssh:
Or use sshfs/nfs. | |||||||
feedback
|
|
shortest way to figure if they are 'same' could be md5sum file on each box, and compare if md5sums match (or some other sum) if you want to diff them , copy one file over to other box and diff it. | |||||||
feedback
|
|
Remotely? Do you have NFS running? Is the directory containing the file of one of the machines mounted on the other machine? You could check this with " df ". If you don't have NFS or the directory is not mounted you will have to copy the file. You could use " scp " to copy the file. For comparing them use diff or if installed kdiff3 or mgdiff are nice. " diff -y " shows a side by side output. | |||
|
feedback
|