Technobabble

Bash history aggregation

So, I wanted to join the fun:

$ history|awk '{a[$2]++} END{for(i in a){printf "%5d\t%s\n",a[i],i}}'|\
sort -rn|head
   87   python
   56   svn
   42   ssh
   38   cd
   33   rdesktop
   22   touch
   21   mplayer
   20   ls
   16   whois
   15   host

I guess it's obvious that I currently mostly work on python projects hosted on svn ;-)

What does yours look like?

blog comments powered by Disqus