My top 10 commands

It seems I’m a ruby guy after all:

$ history | awk '{print $2}' | awk 'BEGIN {FS="|"} {print $1}'|sort|uniq -c | sort -rn | head -10
111 svn
61 cd
44 rake
36 l
32 hg
18 ./script/console
14 rm
12 screen
12 history
12 ./script/server

9 thoughts on “My top 10 commands

  1. Hmm, never thought about checking these stats before, here’s mine:

    104 cd
    99 ls
    63 svn
    48 ./script/console
    41 kate
    27 less
    22 rake
    11 ri
    11 irb
    10 vi

    I guess “grep” is really underrepresented, usually being on the tail-end of one of the above commands, and I was pretty sure I used “find” more often than that.

    I’ll blame the Rails directory structure for the dominance of cd and ls.

  2. herman@ts:~$ history | awk ‘{print $2}’ | awk ‘BEGIN {FS=”|”} {print $1}’|sort|uniq -c | sort -rn | head -10
    258 ssh
    41 ls
    33 exit
    22 cd
    17 apt-cache
    15 killall
    12 sudo
    11 vim
    9 scp
    8 man

  3. $ history | awk ‘{print $2}’ | awk ‘BEGIN {FS=”|”} {print $1}’|sort|uniq -c | sort -rn | head -10
    64 cat
    54 ssh
    51 cd
    40 ls
    27 vim
    26 sudo
    22 clear
    20 mv
    19 echo
    16 less

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s