[wellylug] How to compare two files
Oliver Lineham
wellylug.lists.wellylug.org.nz at fucked.co.nz
Wed Oct 12 22:41:23 NZDT 2005
At 10:00 p.m. 12/10/2005, you wrote:
>...which resides on different machines?
>
>What the easiest way to compare (diff) two files on different machines?
>
>ssh must figure in there somewhere I'd guess?
ssh user at host cat /remote/file | diff - /local/file
"-" tells diff to use stdin instead of a file. you can also use "-" as the
second parameter for a diff in the other direction.
</ol>
More information about the wellylug
mailing list