Saturday, May 10, 2008

Shell History Meme

briandunbar_natasha_~: history | awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}'|sort -rn|head
88 rp
53 ls
47 cd
35 ifconfig
18 ping
17 The
15 phone
14 cat
11 exit
10 sudo

rp is a shell script I wrote that spits out the password for root on various servers I manage. 

phone is a script that extracts telephone numbers from work's online phone directory - original name, hey?

The? I cut-pasted text from John C. Wright's review of Blindsight into terminal by accident.

blog comments powered by Disqus