LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Diff on files which are on seperate machines (https://www.linuxquestions.org/questions/programming-9/diff-on-files-which-are-on-seperate-machines-263167/)

subu_s 12-06-2004 05:53 AM

Diff on files which are on seperate machines
 
Hi,
Is there a way of executing a diff between two files which are on different machines in a network. I guess one way is to mount the other m/c and then do a diff. Any other way?


Regds,
Subu

theYinYeti 12-06-2004 06:55 AM

Code:

diff /local/file <(ssh user@host 'cat /remote/file') >result
Yves.


All times are GMT -5. The time now is 03:01 AM.