Command Line History Meme
I’ve fallen victim to the command line history meme… I’m not sure this is a good representation of a normal day, I’ll have to compare it against Monday to see how it compares.
wesmaldonado:~/workspace/foo wesmaldonado$ history|awk ‘{a[$2]++} END{for(i in a){printf “%5d\t%s\n”,a[i],i}}’|sort -rn|head
73 rake
68 cd
57 sudo
39 svn
35 ls
24 mate
22 clear
19 mysqladmin
18 script/server
11 exit
Instead of typing exit, hit ctrl-d.
I’ll work on using CTRL-D, I end up closing too many tabs on accident with it though. And to clear I use CTRL-K but still sometimes type clear I guess it just takes practice and forcing myself to do it. Perhaps I need to alias it and have it print out the control sequence?