Shell History

$ history|awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}' |sort -rn|head
180 python
63 make
44 hg
42 vim
38 cd
31 ls
24 ssh
17 git
11 grep
9 less

4 Responses to “Shell History”

  1. 136 apt-get
    116 ls
    68 cd
    32 rm
    29 clear
    16 exit
    12 ps
    12 iwconfig
    12 emacs
    7 kill

    Comment by Braydon Fuller — Thursday, April 10th, 2008 @ 11:28 pm
  2. Fun—

    170 python
    76 git
    50 cd
    22 ls
    21 open
    20 ssh
    17 sudo
    13 rm
    12 ffmpeg
    10 ps

    Comment by A Ahmad Khan — Thursday, April 10th, 2008 @ 11:29 pm
  3. 127 jython-trunk
    82 cd
    54 ls
    41 svn
    38 more
    32 hg
    25 grep
    23 e
    19 nosetests
    10 ./pypy-c

    (more is less, e is basically emacsclient)

    Comment by Philip Jenvey — Thursday, April 10th, 2008 @ 11:57 pm
  4. This is my history of 13,700+ commands:

    2421 clear
    1685 ls
    1493 cd
    1398 ssh
    599 sudo
    400 vi
    216 du
    215 svn
    197 mutt
    181 rm

    Why clear? I clear my window when I’m done with whatever I was working on in it, to signal that I’m done, and if something is in the window I use it to remember my context and that I’m in the middle of something.

    Sean

    Comment by Sean Reifschneider — Tuesday, April 15th, 2008 @ 9:42 am

Leave a Reply

cogitations driven by wordpress