history | awk ‘{a[$2]++}END{for(i in a){print a[i] ” ” i}}’ | sort -rn | head
148 who
132 the
123 bloody
110 hell
91 gives
85 a
52 damn
45 ?
history | awk ‘{a[$2]++}END{for(i in a){print a[i] ” ” i}}’ | sort -rn | head
148 who
132 the
123 bloody
110 hell
91 gives
85 a
52 damn
45 ?
No comments yet.