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/')
Continue reading
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/')