Shell statistics

I picked up this meme from the summercode IRC channel via myrtti. (You can follow it back quite far from there…)

sbergen@jt7-153 ~ $ history|awk '{print $2}'|awk 'BEGIN {FS="|"} {print $1}'|sort|uniq -c | sort -nr |head -n 10
155 ./sconsi
91 gtk2_ardour/ardev
65 sudo
23 cat
20 cd
19 svn
18 gtk2_ardour/ardbg
11 scons
10 mysql
9 ls

You can clearly see what I’ve been doing lately, and I thus suggested that this would be part of next year’s summercode applications ;)

Written by Sakari Bergen, Posted , last modified