History meme


OK, everybody does that:

history|awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}'|sort -rn|head
103 l
82 svn
72 cd
22 rm
20 vi
20 make
17 sudo
16 grep
15 g
10 ps

l == ‘ls -lh’
g == ‘gnome-open’

3 thoughts on “History meme”

  1. That’s nothing, I use :
    l=ls
    ll=ls -l
    ..=cd ..

    🙂

    not to mention the ctrl-up binded to history-search-backward that I use constantly, sometimes to search really short commands 🙂
    and while I’m at it, crtl-l for “|less” and ctrl-g for “|grep “. Really useful.

Comments are closed.