history
I saw on Kees blog a history meme that was interesting so I must join in I think.
$ history | awk ‘{a[$2]++ } END{for(i in a){print a[i] ” ” i}}’ | sort -rn | head
87 vi
70 ls
50 ssh
50 cd
49 bzr
33 fg
17 ./manage.py
15 sudo
10 iconv
10 exit
I was surprised at how I use vi more than ls or cd. I was also surprised at how often fg shows up in there. :-/ ./manage.py is part of django.
I think that having multiple terminals open at once does crazy things to your history and I sometimes secretly thing that some of my history does not persist. For example, I’m pretty certain I’ve used scp more often than iconv.




131 sudo
83 ls
65 cd
30 exit
30 clear
17 apt-cache
11 zoneadm
11 vim
9 sqlite3
7 zlogin
My production server, hosting django, html, php apps… (This is the global zone – I’m running Nexenta – OpenSolaris – where the zoneadm and zlogin commands come from)…