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. 😉

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *