[dav:~] $ history | awk '{a[$2]++}END{for(i in a){print a[i] " " i}}' | sort -rn | head
128 ruby
75 cd
57 ls
35 rm
25 sudo
13 rake
10 vi
10 ssh
9 ping
8 cat
Post a comment
Your Information
(Name is required. Email address will not be displayed with the comment.)









That's interesting. You use straight vi?! :D
amarpai@amarpai:~$ history | awk '{a[$2]++}END{for(i in a){print a[i] " " i}}' | sort -rn | head
88 svn
73 cd
57 vim
38 make
31 rm
30 more
22 ls
22 gvn
22 clear
17 g4
Posted by: jcruelty | 2008.06.07 at 11:28 PM
Ha, on OS X (and I think most modern unix systems) vi is symlinked to vim.
You're typing 50% more than me to invoke the same utility!
Posted by: dav | 2008.06.08 at 11:30 AM