Duff O'Melia

Command History Meme

Why not? Everyone else seems to be.

1
history | awk '{a[$2]++}END{for(i in a){print a[i] " " i}}' | sort -rn | head
1
2
3
4
5
6
7
8
9
10
125 git
66 gs
64 rake
56 cd
45 cap
33 ls
18 g
16 ./script/server
9 mv
8 svn

g is an alias for `git`. gs is an alias for `git status`. I like Chu’s alias of ss for `script/server`. I think I’ll do that.