Compare a remote file with a local file November 4, 2022 Content # Useful for checking if there are differences between local and remote files. ssh user@host cat /path/to/remotefile | diff /path/to/localfile - From # Links #