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 Responses to “Top 10 commands used”


  1. 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

    andrea@freepenguin.it

  2. 2 File Gets Software

    Yeap. but my favorite command is top… i should monitor my server state all the time using this command output.

Leave a Reply