Bash history aggregation

Posted by Christian on Apr 12 2008, 10:35 CEST
Tagged with Technobabble

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?

Comments for "Bash history aggregation"

Currently disabled.

Shameless, selfish plug: Ubivox Newsletters