Thursday, April 10, 2008

top x command lines at home (borkstation)


$ history|awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}'|sort -rn|head
91 ls
76 sudo
41 dmesg
41 cd
21 vi
19 ps
18 apt-cache
9 ssh
9 make
9 lsmod

No comments: