sharms@sharms-laptop:~$ history|awk ‘{a[$2]++ } END{for(i in a){print a[i] ” ” i}}’|sort -rn|head
1593 ls
1506 cd
957 ssh
273 sudo
227 vi
210 bzr
176 xvncviewer
165 cat
148 scp
139 ping

My history is fairly large I like it > 1000 on any system I work on. If you get bored, make your shell even cooler: Bash tweaks

Related posts:

  1. Make your bash shell cool again I originally wrote a spec in 2006, but it never...
  2. Explaining a simple argument I had a conversation today, where the other party disagreed...