Top 10 used commands


After reading sdog’s last blog entry with the same title as this one, I’d try the same command on my laptop.

Here is the result of

 history|awk '{print $2}'|awk 'BEGIN {FS="|"} {print $1}'|sort|uniq -c|sort -rn|head -10
    132 ssh
     84 exit
     52 su
     35 telnet
     32 cd
     25 ls
     19 grep
     15 man
     13 scp
     13 ping

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

I deeply value the diversity of MySQL developers, users, community and my blog readers. I cannot agree the suffering, oppression, and systemic racism the Black community faces every day. Black lives matter.