History Meme

[emesa@mario ~]$ uname -a
Linux mario.mushroomkingdom 2.6.24.5-85.fc8 #1 SMP Sat Apr 19 12:39:34 EDT 2008 i686 athlon i386 GNU/Linux
[emesa@mario ~]$ history | awk ‘{a[$2]++}END{for(i in a){print a[i] ” ” i}}’ | sort -rn | head
176 ls
172 eog
81 ./makeSpiral.pl
80 cd
61 ./makefibonaccicollage.pl
58 mplayer
51 ./makePolar.pl
36 mv
28 flickr_views.py
24 exit

and root:

[root@mario ~]# history | awk ‘{a[$2]++}END{for(i in a){print a[i] ” ” i}}’ | sort -rn | head
193 ls
127 cd
102 exit
87 mount
77 yum
71 history
43 emacs
35 cat
20 rm
16 ifconfig
Notes:

  • WordPress may mess up the double quotes, you may need to retype that if you copy this directly from the blog
  • The perl scripts you see are the ones I used to create mathematical collages of my pictures

I got this idea from Mark Pilgrim of Dive into Mark who said this meme is sweeping the net.  I couldn’t help but participate.

As is to be done with Memes, I tag Dan and Penguin Pete to go next.

Author: Eric Mesa

To find out a little more about me, see About Me