====== Linux - Files - Compare a remote file with a local file ====== sudo ssh user@example.com cat /path/to/remotefile | diff /path/to/localfile -