I rely on command history a *lot* and I was curious to know which commands I use the most. I found this on Reddit, and the results are interesting. You might have to tweak the command a bit to suit your shell.
$ history | awk '{CMD[$4]++;count++;}END { for (a in CMD)print CMD[a] " " CMD[a]/count*100 "% " a; }' | grep -v "./" | column -c3 -s " " -t | sort -nr | nl | head -n10
     1  1697  17.5491%    git
     2  1309  13.5367%    cd
     3  673   6.95967%    flamel
     4  520   5.37746%    find
     5  443   4.58118%    vi
     6  322   3.32989%    ll
     7  300   3.10238%    rm
     8  283   2.92658%    grep
     9  279   2.88521%    exit
    10  277   2.86453%    history
So which commands use up your day?
If I could give 3 thumbs up, I would. That's a well-architected command-line. Fantastic!
The top command is:
# ll
Im a Fedora user, recently im move to Silverblue
history | awk '{CMD[$4]++;count++;}END { for (a in CMD)print CMD[a] " " CMD[a]/count*100 "% " a; }' | grep -v "./" | column -c3 -s " " -t | sort -nr | nl | head -n10
1 310 67.3913%
2 19 4.13043% install
3 16 3.47826% --progress
4 15 3.26087% --container
5 8 1.73913% -grtvuspo
6 6 1.30435% wps
7 5 1.08696% -Rv
8 5 1.08696% --force
9 4 0.869565% mkchromecast_0.3.8.1-1_all.deb
10 3 0.652174% 777
history | awk '{CMD[$2]++;count++;}END { for (a in CMD)print CMD[a] " " CMD[a]/count*100 "% " a; }' | grep -v "./" | column -c3 -s " " -t | sort -nr | nl | head -n10
1 96 19.2% oc
2 68 13.6% kubectl
3 61 12.2% cd
4 32 6.4% ls
5 28 5.6% vi
6 27 5.4% docker
7 20 4% git
8 18 3.6% curl
9 11 2.2% mkdir
10 10 2% ocn
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.