Shell Meme

Posted by Eric Stein - April 11, 2008 CE @ 04:02:18 UTC
I found an interesting meme at stopped clock.
My desktop:
$ history|awk '{a[$2]++} END{for(i in a){printf "%5d\t%s\n",a[i],i}}'|sort -rn|head
  119   cd
   43   rvid
   40   l
   21   ssh
   15   rm
   15   mplayer
   13   sudo
   12   wget
   12   ls
    9   eog
And my server:
$ history|awk '{a[$2]++} END{for(i in a){printf "%5d\t%s\n",a[i],i}}'|sort -rn|head
   74   svn
   69   l
   57   pwt
   57   cd
   44   vim
   35   ./publish
   27   s
   20   screen
   12   rm
   12   cat
Interesting, eh?

Comments

There are no comments yet.

Post a Comment

Name
Email (not published, I won't spam you)
URL (optional)
Title
Comment
sides on a square?
Worth Saying
Valid XHTML, CSS, RSS | 1ms | Copyright 2004-2024 Eric Stein