3 ms·Maybe this? history | awk '{h[$2]++} ; END {for (i in h) print h[i], i}' | sort -n | tail -10by ratsmack 6y agoMaybe this? history | awk '{h[$2]++} ; END {for (i in h) print h[i], i}' | sort -n | tail -10