The history game
Sunday, April 13th, 2008 by ZonkerIt seems everyone is doing it. So, who am I to resist?
Open a terminal and run:
history | awk '{a[$2]++ } END{for(i in a){print a[i] ” ” i}}’|sort -rn|head
You should see something like this:
204 ls
202 cd
89 vi
63 exit
54 mv
35 su
31 ssh
28 mkdir
27 scp
26 /sbin/ifconfig
Nothing terribly interesting. I don’t spend as much time at the shell as I used to, or at least I don’t spend too much time at the shell on my local machine.


No comments yet.