$ history|awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}'|sort -rn|head 368 cd 355 l 274 git 231 vi 131 u 130 q 101 find 94 time 86 grep 79 svn
Some clarifications:
- “
l
” is an alias for “ls -lhA --color
” - “
u
” is an alias for “cd ..
” - “
q
” is an alias for “exit
” (I also use CTRL-D for that) - “
time
” is there because I use “time make
” to see how much time I need to compile things
This blog post was brought to you by the huge time required to link WebKit (I want gold as the default linker!)