Skip navigation

History Meme

Tim Bray and Mark Pilgrim have done it, so I thought I’d throw my command line history into the mix. Interestingly, I’ve been doing a lot of ruby on rails work over the last few weeks and it has skewed my command line use away from java based stuff like ant and maven:


~ % history | awk ‘{a[$3]++} END{for(i in a){printf “%5d\t%s \n”,a[i],i}}’ | sort -rn | head
259 ls
135 cd
82 p4
61 svn
61 ruby
59 cap
34 rm
31 mate
30 rake
22 script/console

(and, in case anyone was wondering why I use the third column instead of the second, it is because my default shell is still tcsh.)

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*