Thursday, April 10, 2008

Shell history stats

Well, everyone else is doing it...

From my notebook:

jpatrao@orpheus:~$ history|awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}'|sort -rn|head

271 sudo
41 ls
27 cd
22 mplayer
13 gtklookat
11 ps
7 clear
6 rm
5 ssh
5 flv2avi.sh

No comments: