Thursday, April 10, 2008

Show me your history...

...and I'll show you who you are. Or something like that ;)

[deejay1@betty ~]$ history | awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}'|sort -rn|head
177 cd
100 git
82 vim
68 svn
63 ./builder
59 su
50 mc
44 cvs
39 ls
29 rpmbuild

Yes, I do change directories pretty often and no, my laptop isn't named after a woman!

2 comments:

Andrzej Dopierała (The Undefined) said...

Hm.. a co powiesz na:

[undefine@uml ~]$ history | awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}'|sort -rn|head
217 ./pokazwyniki
132 ssh
116 ls
70 mtr
61 vim
36 cd
35 sudo
33 host
29 niusy
16 while


Albo na

[undefine@piastlan ~]$ history | awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}'|sort -rn|head
724 mutt
50 mtr
31 cd
20 ls
18 vim
15 grep
14 screen
13 dmesg
11 less
10 host

?:)

Witać kto tu jest developerem pld ;)

Unknown said...

No przecież nie ja ;)