Apr 12

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

Tags: , , , .
João @ 12:35

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

One Response to “history | awk ‘{print $2}’ | sort | uniq -c | sort -rn | head”

  1. Admiral_Edo says:

    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

Leave a Reply