Top 10 commands used

Just found through this post by Technofreak, where a simple(ok, that is not simple), onliner on your terminal will show you the top 10 commands used recently.
$ history | awk '{print $2}' | awk 'BEGIN {FS="|"}{print $1}' | sort | uniq -c | sort -n | tail | sort -nr

This on my system shows up
82 cd
63 ls
51 sudo
51 screen
18 ps
17 irssi
15 python
14 svn
12 irb
11 uptime

2 thoughts on “Top 10 commands used

  1. Free Penguin

    Hello,
    I’m the web-master of Free Penguin,
    I’ve seen your space and I like it, congratulations!
    If you want we could link each other with a banner o with a simple link.

    My web-site is http://www.freepenguin.it

    I’m waiting for your reply!

    Free Penguin – Free as in Freedom

    [email protected]

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

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