tee to a file descriptor

tee to a file descriptor $ tee >(cat – >&2) the tee command does fine with file names, but not…

Continue Reading →

when you press f9 \’paste\’ is on , press f9 again and \’paste\’ is off, and so forth (works in insert-mode and command-mode)

vim\’s pastetoggle: when you press f9 \’paste\’ is on , press f9 again and \’paste\’ is off, and so forth…

Continue Reading →

List of commands you use most often

$ history | awk \'{a[$2]++}END{for(i in a){print a[i] \” \” i}}\’ | sort -rn | head > /tmp/cmds | gnuplot…

Continue Reading →