11/07/05 09:36:57.51 Mb1IdpTO
sudoとか省いた方が実態に近いと思うぞ。
あと、>>1だと、先頭に無意味な空白があったときに、カウントされない。
と言うわけで、ちょっと付け加えた。
$ sed -e 's/sudo //' -e 's/^ *//' ~/.bash_history | cut -d ' ' -f1 | sort | uniq -c |sort -rn |head -n10
1332 cd
1174 less
997 ls
818 apt-get
776 emacs
632 gnome-open
563 rm
563 dpkg
531 apt-cache
442 locate