2009-05-04

Shell History Stats

Inspired by reading an old thread on my local Linux user group mailing list:

$ history | awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}' | sort -rn | head

94 povray
58 source
55 ./wacdump
32 l
31 cd
25 dcraw
22 cp
21 gimp
20 less
19 gvim

:) I should run that more often. Maybe feed to Twitter. Or not.

No comments: