Joining the bandwagon 13 May, 2008 history | awk '{a[$2]++}END{for(i in a){print a[i] " " i}}' | sort -rn | head 140 git 103 ls 73 cd 55 mate 26 sake 26 mv 23 rake 8 autotest 5 gem 4 sudo View the discussion thread.