What's In Your History
Warning: internet meme
yclog: Learned from KageSenshi that, there is a meme happening at the Fedora Planet, that is to execute this command:history | awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}'|sort -rn|head
WARNING: COPYING/PASTING AND EXECUTING A COMMAND LINE FROM THE INTERNET MAY BE HAZARDOUS TO YOUR HEALTH AND CAREER.
With that said, here goes my result:
[weiqi@gao] $ history | awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}'|sort -rn|head
132 ls
113 cd
23 vi
22 stty
14 pwd
13 ssh
11 less
11 java
10 ant
9 svn
(And you all know why I ran stty 22 times in the past 1000 command lines.)