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

Advertisements

2 Responses to “Shells Shells Everywhere Shells!”

  1. googlehimer said

    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. Keep it up, Greg! 🙂

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: