$ history | awk '{a[$2]++}END{for(i in a){print a[i] " " i}}' | sort -rn | head
149 cd
76 l
28 git
25 rake
18 airstream
17 script/server
17 ls
16 sudo
13 sshm
12 vim
This article isn’t yet translated to English
This article isn’t yet translated to English
This article isn’t yet translated to English
This article isn’t yet translated to English
This article isn’t yet translated to English
This article isn’t yet translated to English
This article isn’t yet translated to English
This article isn’t yet translated to English
This article isn’t yet translated to English
This article isn’t yet translated to English
This article isn’t yet translated to English