by siyb

This oneliner was given to me by mrnice, it basically prints out the top 10 of the most used shell commands of the current user, just something to play with :>

history|awk ‘{print $2}’|awk ‘BEGIN {FS=”|”} {print $1}’|sort|uniq -c|sort -rn |head