command history
emurphy@jitter-shadow:~$ history|awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}'|sort -rn|head
93 sudo
85 cd
53 ls
36 apt-cache
33 vim
32 ssh
30 bzr
12 ..
11 make
9 start-bluetooth-network
emurphy@jitter-shadow:~$ history|awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}'|sort -rn|head
93 sudo
85 cd
53 ls
36 apt-cache
33 vim
32 ssh
30 bzr
12 ..
11 make
9 start-bluetooth-network