Random IT Stuff
Random IT stuff, mainly *NIX
Tuesday, 2 November 2010
diff files across servers
Here's another really handy one liner for diff-ing files across servers using process substitution. This seems to work in zsh and bash.
diff /a/file/ <(ssh anotherserver 'cat /a/file/')
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)