in Mac, python, SCM

What’s your history|awk…

Via Bill de hÓra. Run this from the command line:

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

I get:

108 ls
78 cd
53 sudo
29 python
13 cap
9 ruby
8 vim
6 easy_install
3 bzr
1 ex
1 python2.5
1 ln
1 mksir
1 cat
1 cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc

In short:

  • I have trouble with my default python installation.
  • I am trying Django for small project.
  • I was hit by the Leopard keyboard repeat freeze bug.
  • I am poor at spelling simple commands.
  1. $ history|awk ‘{a[$2]++} END{for(i in a){printf “%5d\t%s\n”,a[i],i}}’|sort -rn|head
    73 gst
    48 gca
    43 cd
    27 gp
    26 cap
    23 ga
    20 gdc
    20 et
    18 console
    17 git

    PS. Looks like OpenID on your blog is broken. When it redirects back to your site, login says “Password invalid” or there abouts. I had openid issues on my WP blog too. Couldn’t figure it out so took it down :(

Comments are closed.