Bowing to the shell history meme:

history|awk '{a[$2]++} END{for(i in a){printf “%5d\t%s \n”,a[i],i}}’|sort -rn|head

55  sudo 
45  ls 
42  git 
32  cd 
25  gem 
23  vi 
21  ruby 
15  man 
13  echo 
 7  /bin/rm 

Heh. Turns out most of my work on the command line involves making changes as the actual super user. Further digging reveals that most of that are calls to port and gem. (And yes, I call gem a lot as local user to. Not everything requires privilege escalation).

The rest just proves that I’m a ruby/vi person, not python/emacs. (Although, honestly, I’m a textmate user. Just forgot to install the mate script…)

Leave a reply