Tip #536 Comparing local and remote files
Suppose we have to find the differences between local file "/tmp/localfile" and remote file "/tmp/remotefile" located on remote host 123.4.5.6This is how can do it:
Read more »
Tip #480 Diff Two Directories
A quick script to compare files from two directories (for example a backup and working directory).Read more »
Tip #198 vimdiff and svn
vimdiff <(svn cat -r ##ver## foo) foowill put you in the usual vimdiff output, but comparing between ##ver## and your current version of foo Read more »
Tip #186 Using comm
You can use diff to see the differences between two files, but it can be useful to see what is the same and more clearly how they differ. This is where comm comes in useful.comm tells you what information is common to two lists and what information appears uniquely in one or the other.
Read more »
Tip #45
multiple command output into a single program:diff -u <(ls -c1 dir_1) <(ls -c1 dir_2)
Will show you a diff of files in the root of dir_1 and dir_2 Read more »
alias aptitude at awk bash bc cal cat cd colrm comm cp csh curl cut date dd df dialog diff dirname dpkg du fc find fuser grep gs gzip history iconv kill ksh last less ln ls lsof lynx m4 md5sum mkdir mkfifo mkisofs mv mysql nc netstat openssl OSX perl ping popd ps pushd python read redirection rm scp screen sed sort ssh stat sudo svn tail tar tee test top tr uniq vim wc wget xargs