Skip to content

Instantly share code, notes, and snippets.

@GregGallant
Created April 23, 2015 16:55
Show Gist options
  • Save GregGallant/55d2c439257ccaca097d to your computer and use it in GitHub Desktop.
Save GregGallant/55d2c439257ccaca097d to your computer and use it in GitHub Desktop.
Diff remote file with local file
ssh user@host cat /path/to/remotefile | diff /path/to/localfile -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment