The history game

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...
Sunday, April 13th, 2008 by Zonker Digg!

It 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.


Comments »

No comments yet.

Name
Email for notification (will not be published)
Website (optional)
Spam protection: Sum of one + two ?

Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.