Bringing Things Together

Shells Shells Everywhere Shells!

Posted by Greg on April 10, 2008

I wasn’t going to post in response to the meme, that is, until I saw my history.

$history|awk ‘{a[$2]++ } END{for(i in a){print a[i] ” ” i}}’ |sort -rn|head
87 add-5-a-day
54 screen
52 sudo
52 cd
46 ls
22 dpkg
21 cat
20 irssi
13 bzr
10 tail

Can you tell I am a part of the 5-a-day team on Launchpad?

And, again, why isn’t Ohio on the stats page?


My 5 today: #213251 (pulseaudio), #215005 (jockey), #212709 (linux-restricted-modules-2.6.24), #213585 (flashplugin-nonfree), #213852 (poppler)
Do 5 a day - every day! https://wiki.ubuntu.com/5-A-Day

2 Responses to “Shells Shells Everywhere Shells!”

  1. googlehimer Says:

    whats the difference between the following?

    $ history | awk ‘{print $1 }’ | sort | uniq -c | sort -rn | head
    $ history | awk ‘{a[$2]++} END{for(i in a){print a[i] ” ” i}}’ | sort -rn | head

    As far as i can see both give the same output

  2. Daniel Holbach Says:

    Keep it up, Greg! :-)

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>