<< Question: Concurrent Programming On Dual-Core Machines | Home | [DISCUSS] Open appropriate GUI from terminal? >>

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

Tags :


Re: What's In Your History

Fun! Here's mine

63 pwd
61 ls
34 acti
26 cd
23 gr
21 gbs
13 ant
11 ups
11 find
11 date

Note that some are aliases... E.g. gr = 'cd R_HOME' where R is my current project. gr = 'Go to R'

The "find date" combination at the end may be Bash commenting on my personal life.

Re: What's In Your History

and mine (Mac OS Leopard)

101 cd
77 ls
44 ant
30 ll
26 sudo
22 svn
20 cd..
14 mate
12 scripts/clcmgr.sh
10 man

Add a comment Send a TrackBack