Tag Archives: commands

Shell history stats

Okay, I’ll bite:
stanley: ~
$ history|awk ‘{a[$2]++ } END{for(i in a){print a[i] ” ” i}}’|sort -rn|head
201 host
46 bzr
43 ls
40 cd
32 sudo
22 vi
19 scp
12 clear
11 ./push-live
9 wget
Amusing aberration at the top there.

Bad Behavior has blocked 1268 access attempts in the last 7 days.