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
  2. Making OpenBSD more friendly
  3. Looking for help
  4. Bazaar Statistics
  5. Explaining a simple argument