//View Tip #45
» Check a bash script without executing
» Get latest stable version of the Linux kernel
» vimdiff and svn
» Overwrite a file with zeroes
Similar Tips
» Stream shell commands to Twitter» Check a bash script without executing
» Get latest stable version of the Linux kernel
» vimdiff and svn
» Overwrite a file with zeroes
Latest tips by RSS
Click here to subscribe
Follow Shell-Fu on Twitter
Click here to follow
Follow Shell-Fu on identi.ca
Click here to follow
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
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


$ vimdiff <(echo) <(cat /dev/null)
Proceed to paste whatever you want to compare into the two panes..