You're replying to a comment by Holy Penguin.

April 16, 2014, 15:16

What about this?:

history | awk '{ count[$($1="")]++ } END { for (i in count) print count[i], i }' | sort -nr | head

There's a problem for instructions that take more than one line due to here documents, multi-linear strings and the like.

Reply To This Comment

(why do I need your e-mail?)

(Your twitter handle, if you have one.)

Type the word "rocket_334": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.