Shell Command History Stats
Saw many Fedora people are having fun profiling their shell command history... so tried it myself.
It's not very exciting, doesn't it?
[root@admun2 ~]# history | awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}' | sort -nr | head
226 ls
198 cd
73 vi
68 dmesg
64 exit
47 df
33 less
31 ps
26 fg
23 mv
tags to del.icio.us: shell, stats
tags to Technorati: shell, stats
mail to a friend -
print -
rss
(Last updated 10/04/08)
It's not very exciting, doesn't it?
[root@admun2 ~]# history | awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}' | sort -nr | head
226 ls
198 cd
73 vi
68 dmesg
64 exit
47 df
33 less
31 ps
26 fg
23 mv
tags to del.icio.us: shell, stats
tags to Technorati: shell, stats


![[Valid XHTML 1.0 Strict]](http://edmondhui.homeip.net/blog/skins/admun3/valid-xhtml.png)
![[Valid CSS]](http://edmondhui.homeip.net/blog/skins/admun3/valid-css.png)
![Validate my RSS feed [Valid RSS]](http://edmondhui.homeip.net/blog/skins/admun3/valid-rss.png)





