When i opened my Google reader this morning , cam across this little awk kiddie. So ran it for my ubuntu shell. It tells the story that i have not been doing anything worthy , only procrastinating
history|awk '{a[$2]++ } END{for(i in a){print a[i] ” ” i}}’ |sort -rn|head
84 cd
66 ls
43 sudo
15 python
10 django-admin.py
6 svn
6 ln
4 youtube-dl
4 pidgin
4 cd..
The original script lies here.
No Comments
Leave a Comment
trackback address