But this one was geeky and interesting enough to be worth it:
$ history|awk '{a[$2]++} END{for(i in a){printf "%5d\t%s\n",a[i],i}}'|sort -rn|head 75 cd 64 ls 34 ssh 29 python 21 rm 21 hg 20 svn 18 man 18 less 17 screen
Comments for this entry are closed. If you'd like to share your thoughts on this entry with me, please contact me directly.
From our sysadmin:
history | awk ‘{print $2}’ | sort | uniq -c | sort -rn | headInteresting stuff.
Here’s mine:
~ $ history|awk ‘{a[$2]++} END{for(i in a){printf “%5dt%sn”,a[i],i}}’|sort -rn|head 132 svn 57 cd 36 ssh 34 rake 28 sudo 20 ruby 17 ./start.sh 16 mate 15 git 14 vim
Here is mine
and mine:
191 ssh 74 sudo 38 ls 27 ping 23 exit 22 cd 19 vi 15 ps 13 kill 11 ./slttest.py
Cool meme! Here’s mine:
I like it! It seems super accurate to boot. Here’s mine:
377 svn 159 ll 154 clear 137 cd 44 pwd 21 rm 16 grep 14 su 12 pecl 9 exit
$ history|awk ‘{a[$2]++} END{for(i in a){printf “%5dt%sn”,a[i],i}}’|sort -rn|head 105 ls 94 hg 83 mate 52 cd 44 python 15 ssh 13 vim 9 mkdir 9 cp 8 find
193 sudo 163 ll 90 vi 82 cd 70 less 48 screen 28 cat 23 nice 21 pygmentize 20 grep
Ah man, there is something wrong if your VCS isn’t at the top! I suppose having gvim in second (mine) could also mean something is wrong =).
Here’s mine:
here:
My machine at work
Hmm… maybe I’m doing something wrong!? 285 apache2/bin/stop 285 apache2/bin/start 147 cd 113 more 63 ls 54 python2.4 14 rm 14 emacs 4 pwd 4 mv
137-148-237-36:~ BLKHEARTS$ history|awk ‘{a[$2]++} END{for(i in a){printf “%5dt%sn”,a[i],i}}’|sort -rn|head 19 ssh 17 ls 16 locate 14 vi 12 cd 11 perl 8 ./mysql 6 ps 5 which 4 less
LAZY MBP