C.bash_history

April 17th, 2008 by vinbarnes 4 comments »

Piggybacking off Ben's post, here is my bash history.

$ history 1000 | awk '{a[$2]++}END{for(i in a){print a[i] " " i}}' | sort -rn | head
105 git
48 ssh
40 airport
39 ip
30 ls
26 cd
21 gvn
17 tm
17 exit
16 qri

Obviously, I've made the switch (some time ago, in fact) to git as there isn't svn anywhere to be found. The airport and ip commands were because I was desperately seeking wifi (or weefee as the French say) while abroad. Which reminds me, I need to pen a little something about Scotland on Rails, my new favorite Scottish regional Rails conference!

4 Responses to “C.bash_history”

  1. Yossef Says:

    I’m not even going to bother with my own post, but here’s mine:

    
    $ history 1000 | awk '{a[$2]++}END{for(i in a){print a[i] " " i}}' | sort -rn | head
    455 git
    99 cd
    39 ssh
    35 mate
    29 *
    25 ta
    24 pt
    23 pi
    22 poa
    20 rake
    

    Apparently I do a lot of git stuff. ta is my focused-autotest alias, and pt/pi/poa are my punch shortcuts (total, in, out-all).

    I don’t know what the * is.

  2. Tammer Saleh Says:
    
    [1 tsaleh@tardis:~/] history 1000 | awk '{a[$2]++}END{for(i in a){print a[i] " " i}}' | sort -rn | head
    179 ls
    151 cd
    129 svn
    68 st
    63 git
    47 c
    37 v
    36 less
    35 punch
    26 rake
    
    [0 tsaleh@tardis:~/] alias st c
    alias st='svn st'
    alias c='cd ..'
    
  3. Rick Bradley Says:
    
    @ Thu Apr 17 17:37:08 rick@rick-bradleys-computer
    ~$ history 1000 | awk '{a[$2]++}END{for(i in a){print a[i] " " i}}' | sort -rn | head
    118 git
    83 cd
    75 ls
    24 vim
    20 less
    19 ts
    19 rake
    19 jruby
    16 cat
    13 ssh
    

    and, of course:

    
    @ Thu Apr 17 17:37:25 rick@rick-bradleys-computer
    ~$ type ts
    ts is a function
    ts () 
    { 
        AUTOTEST=${1:-.} autotest
    }
    

    The jruby? That comes from playing with ruby-processing. For some (good) reason(s) I feel I have to explain anything in my history that has a ‘j’ in it.

  4. Yossef Says:

    Poor Tammer still uses svn.

Leave a Reply