Shell history statistics meme

What now, dude? history | awk '{a[$2]++}END{for(i in a){print a[i] " " i}}' | sort -rn | head
200 sudo
182 ls
90 cd
62 vi
52 mv
43 java
38 eyeD3
33 tail
25 javac
21 ~/embedcover

Looks like I spend most of the time at the console organizing the music library (and breaking the computer—look at all those sudo and vi…)

Go Top