history | awk ‘{print $2}’ | sort | uniq -c | sort -rn | head

$ history | awk '{print $2}' | sort | uniq -c | sort -rn | head
81 svn
54 cd
44 ls
29 paster
27 telnet
19 rm
17 sudo
14 python
13 dig
13 clear

As seen on alcidesfonseca.com.

1 Comment

  1. Admiral_Edo wrote:

    14 hours after a clean install:

    history | awk ‘{print $2}’ | sort | uniq -c | sort -rn | head
    29 ls
    15 mvim
    9 vim
    9 sudo
    5 svn
    5 rm
    5 mate
    5 cd
    3 mv
    3 history

    Posted 20 Apr 2008 at 2:04 pm permalink

Post a Comment

Your email is never published nor shared. Required fields are marked *