History Meme

Ok I give in. After seeing this on many blogs over the last 48 hrs I have to give in.

history|awk '{a[$2]++} END{for(i in a){printf "%5d\t%s\n ",a[i],i}}'|sort -rn|head

Macbook Pro
98 ls
96 cd
30 ping
29 ssh
26 du
22 sudo
20 rm
19 cvs
18 top
18 sed

Linux box:

88 ls
63 cd
33 ssh
31 su
30 vi
24 du
17 exit
16 ./Encode2flv.sh
13 rm
13 mv

Even on my Mythtv box:

33 ls
23 df
22 su
19 sudo
12 firefox
9 mplayer
9 cd
7 killall
5 vi
5 tail

Not that informative, but a good laugh! Although I do have to ask myself.  Why do I need to look in a directory so many times?  Another question that comes into mind is that I think I do too much stuff as root.  There’s a lot of commands that I know I run, that are missing there.


3 Replies to “History Meme”

Comments are closed.