Shell History
I know he got it from someone else, but I first saw this on Jeff Waugh’s blog. So, my turn.
matthew@telecaster:~$ history|awk ‘{a[$2]++ } END{for(i in a){print a[i] ” ” i}}’|sort -rn|head
166 sudo
63 cd
62 ls
41 clear
22 rm
10 ssh
9 fglrxinfo
8 tar
7 rsync
7 man
6 comments April 10th, 2008
