Submit A Tip Alternative Tip Form

Reveal your top ten most used terminal commands

If you’re an avid terminal user and ever wondered what commands you use most often then the following command will reveal not only your top ten most entered entries but also a tally of their use. Stat-tastic!

history | awk ‘{print $2}’ | sort | uniq -c | sort -rn | head -10

My number one most used command was the rather boring ‘cd’ (used for entering folders in the terminal) which was used 338 times.

Feel free to share your top ten commands in the comment space beneath.

Thanks goes to Bryan who thought we might like to share this.