history | awk '{h[$2]++} ; END {for (i in h) print h[i], i}' | sort -n | tail -10
613 cat
623 ls
875 rg
996 sudo
1037 vlc
1079 cd
1190 rm
1219 make
1330 vim
4812 git
Given a bunch of lines of text, this reports on the frequency of first starting words.
Probably the -C should be lower case?
history | sort | uniq | awk '{print $2;}' | uniq -c | sort -n | tail -10