My Shell history
Apr 10th, 2008 by Tim
Follwing the latest meme, here are my 10 most used commands in the shell history:
tim@tim:~$ history | awk ‘{a[$2]++ } END{for(i in a){print a[i] ” ” i}}’|sort -rn|head
89 sudo
42 ls
42 cd
31 rm
18 java
17 unrar
16 wget
16 gksudo
15 ajcore
10 mv
Here is mine:
1 250 25% ls
2 206 20.6% cd
3 150 15% vi
4 32 3.2% svn
5 32 3.2% ping
6 20 2% rm
7 20 2% gentags
8 17 1.7% gpg
9 15 1.5% sudo
10 15 1.5% rpm
i use this: http://linux.byexamples.com/archives/332/what-is-your-10-common-linux-commands/