Posted By

micmath on 10/12/06


Tagged

Shell unix linux


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

basicmagic
nimoyjohnson
Leech


Show Differences Between A Local File And A Remote Copy


 / Published in: Bash
 

Requires SSH access to remote server.

  1. $ ssh username@www.remoteserver.com 'cat /pathto/file.txt' | diff - myfile.txt

Report this snippet  

You need to login to post a comment.