4) COMPARE A REMOTE FILE WITH A LOCAL FILE ssh user@host cat /path/to/remotefile | diff /path/to/localfile -