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


/ Published in: Bash
Save to your folder(s)

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.


Copy this code and paste it in your HTML
  1. ssh username@servername.com 'cat /path/to/file.txt' | sdiff - /path/to/file.txt

Report this snippet


Comments


You need to login to view comments.