Top 10 commands oneliner
Bash, Development, Geeky, Linux, Networkroll September 25th, 2006This 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





