vendredi 21 mars 2008

Most used command lines

To get the most used command from the command line, type in the following command:

# history | awk '{print $2}' | awk 'BEGIN {FS="|"} {print $1}'|sort|uniq -c | sort -n | tail -n 15 | sort -nr


Here are my results:

215 ls
173 cd
84 su
47 mount
28 python
27 unison
25 mplayer
25 more
22 mencoder
21 halt
19 emacs
17 rm
17 cp
16 mv


source

Aucun commentaire: