Shell History

2008-04-10T16:03:06Z | Comments: 1

Meme of the day. Why not:

sean@lenny:~$ history|awk '{a[$2]++} END{for(i in a)
> {printf "%5d\t%s\n",a[i],i}}'|sort -rn|head
  113   ls
   72   cd
   65   hg
   30   svn
   25   ssh
   23   sudo
   21   gvim
   19   paster
   14   python
   14   ./bin/instance

That last one is a Plone buildout server controller and test runner.

Categories: Media Programming

del.icio.us

Comments

Re: Shell History

2008-04-10T20:50:24Z

Nice.

history | awk '{a[$2]++} END{for(i in a) {printf "%5d\t%s\n",a[i],i}}' | sort -rn | head
94 l
93 cd
55 sudo
51 exit
22 grass63
14 ssh
11 rm
11 ps
9 aptitude
8 svn
By: Dylan Beaudette

Comments are closed after 13 days.