Show diff between local and remote file with SSH
ssh user@host "cat var/www/public_html/path/to/file/SomeFile.txt" | diff - "local/path/to/file/SomeFile.txt"
Written by Diego Paladino
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Diff
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#