Top 10

 

Answering Alfredo’s challenge:

My MacBook:

$ history|awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}'|sort -rn|head
148 ssh
63 ls
50 cd
29 ping
28 sudo
23 traceroute
21 scp
17 vi
17 ifconfig
15 route

My Linux Workstation:

$ history|awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}'|sort -rn|head
111 vi
67 make
66 cd
61 svn
54 ls
39 sudo
22 pwd
10 man
8 grep
7 more

written by Diogo Gomes