An interesting idea from jimmac via jdub.
At home:
(marty@merboo)-(03:42:46 Fri Apr 11)-(~)
$ history|awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}'|sort -rn|head
106 screen
96 ssh
48 sudo
43 vim
25 ifconfig
25 cd
17 make
12 ls
12 cat
10 iwconfig
…and at work:
marty@boober:~ $ history|awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}'|sort -rn|head
142 ssh
82 screen
45 sudo
42 dig
24 pstree
18 offlineimap
14 vim
12 telnet
8 ooffice
8 mutt