Macintosh:~ bkarak$ history|awk '{a[$2]++} END{for(i in a){printf "%5d\t%s\n",a[i],i}}'|sort -rn|head 181 ls 121 cd 54 svn 27 bin/clmt 26 rm 26 ant 19 python 7 mc 5 ssh 4 generate-blog.py
Macintosh:~ bkarak$ history|awk '{a[$2]++} END{for(i in a){printf "%5d\t%s\n",a[i],i}}'|sort -rn|head 181 ls 121 cd 54 svn 27 bin/clmt 26 rm 26 ant 19 python 7 mc 5 ssh 4 generate-blog.py