shell history meme

Just thought this was kind of interesting.

work machine, user
[alikins@grimlock ~]$ history|awk ‘{a[$2]++ } END{for(i in a){print a[i] ” ” i}}’|sort -nr|head
283 git
259 cd
173 ls
69 vim
36 su
19 cat
12 git-branch
11 man
10 cp
9 grep

work machine, root
[root@grimlock alikins]# history|awk ‘{a[$2]++ } END{for(i in a){print a[i] ” ” i}}’|sort -nr|head
123 make
109 rpm
87 ls
81 certmaster-ca
78 vim
76 func
64 cd
53 cat
44 yum
37 /etc/init.d/funcd

2 thoughts on “shell history meme

Comments are closed.