First off, I need to credit Ben Orenstein for this idea. Since I've found it to be very useful, I thought others could benefit from it, so here goes... From time to time, I like to analyze which unix or linux shell commands I'm using most frequently. To do this, all I need is a little awk, like the following: history | awk '{a[$2]++}END{for(i in a){print a[i] " " i}}' | sort -rn | head So what doe