My Top 10 Most Used Commands

Written By: Jake Bauer | Posted: 2020-08-21 | Last Updated: 2020-08-21

Another fun thing I came across recently, this time on r/linux: What are your top 10 most used CLI commands?. I know I should stop browsing Reddit… it’s just such a good time-waster.

I was curious to see which commands I run most often so I ran the following on my main desktop:

history | awk '{print $2}' | sort | uniq -c | sort -nr | head -n 10

It came up with the following:

1080 ls
832 git
769 vi
708 cd
452 sudo
280 ./compile
259 rm
215 ssh
110 config
109 mv

You can probably guess what I do most with my computer…

Most of them are standard commands except for ./compile and config. ./compile is what I run when I compile anything for my website (like this blog post you’re reading, for example) and config is the alias I have to work with the git repository I have for my dotifles.

I’m curious what your most commonly used CLI commands are. Let me know in this thread on the Fediverse (or by email, if you want).

This is my ninety-fifth post for the #100DaysToOffload challenge. You can learn more about this challenge over at