marderh.blog

29/9/2008

Auswertung Shell-History

Filed under: — stefan @ 12:48

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

Schaut bei mir so aus (auf einem produktiven System):

1045 ll
945 cd
925 apt-get
635 vi
402 cat
233 tail
148 /etc/init.d/apache2
146 watch
145 apt-cache
123 rm

:-)

Powered by WordPress