My Shell history

When i opened my Google reader this morning , cam across this little awk kiddie. So ran it for my ubuntu shell. It tells the story that i have not been doing anything worthy , only procrastinating

history|awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}' |sort -rn|head
84 cd
66 ls
43 sudo
15 python
10 django-admin.py
6 svn
6 ln
4 youtube-dl
4 pidgin
4 cd..

The original script lies here.

Advertisements

One thought on “My Shell history

Leave a Reply

Fill in your details below or click an icon to log in:

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