Created
May 21, 2014 22:05
-
-
Save koudelka/383bb1362432ed320c9b to your computer and use it in GitHub Desktop.
Compare two files on remote hosts.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rdiff() { diff -u <(ssh $1 "cat $3") <(ssh $2 "cat $3") } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment