Friday, April 11, 2008

I'm a Java guy

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

Here's my result:

yclian@nemesis:~$ history | awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}'|sort -rn|head
110 ls
109 cd
41 sudo
39 svn
37 mvn
21 cat
12 java
10 $JAVA_HOME/bin/java
9 find
8 sh

svn, mvn, java. What a Java guy.

It's your turn now. :-)

- yc

3 comments:

Anonymous said...


110 ls
109 cd


More likely you are lost and keep searching your files :P

Y said...

'ls' is a habit. You should have learned about it from me, I can type 'ls' and 'dir' for no reason.

- yc

Y said...

Oh by the way, we have 'find' and 'grep' to help searching for stuff in Linux. :-)

Definitely not 'ls' and 'cd' when you're lost.

- yc