Posted By

donkeykong on 09/05/13


Tagged

command linux sdiff


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

scilec


sdiff - show difference between local file and remote file side by side


 / Published in: Bash
 

This is a good way to show the difference between files side by side to quickly see what parts are not the same, if any.

  1. ssh username@servername.com 'cat /path/to/file.txt' | sdiff - /path/to/file.txt

Report this snippet  

You need to login to post a comment.