History meme

I think we must all have OCD. It’s interesting (to me at least) which things I launch from the GUI (firefox, emacs). Is there a way to get the “most-clicked launchers” in gnome?

bsmedberg $ uname -a
Linux tchaikovsky.smedbergs.us #1 SMP Sun Feb 10 17:03:13 EST 2008 x86_64 x86_64 x86_64 GNU/Linux
bsmedberg $ history | awk '{a[$2]++}END{for(i in a){print a[i] " " i}}' | sort -rn | head
271 hg
148 make
122 cd
44 less
43 rm
35 dir
33 exit
27 cvs
25 svn
18 /builds/gcc-dehydra/installed/bin/gcc

Atom Feed for Comments 3 Responses to “History meme”

  1. alanjstr Says:

    I frequently close my web browser because I am done surfing the web and then immediately reopen it because I’m bored. Or I read the headlines from slashdot, go to my home page, and then immediately go back to slashdot thinking I haven’t read the headlines lately.

  2. hdh Says:

    Is that a triple-core CPU? I haven’t seen the x86_64 x86_64 x86_64 part before.

  3. Binary Code » History Meme Says:

    […] Jumping on the shell command history meme: […]

Leave a Reply