Find Your Top 10 Shell Commands
Ever wonder what shell commands you use most often? Copy and paste the following into your CLI and see your top 10.
history | awk '{print $2}' | sort |uniq -c | sort -rn | head -10
Here is a list of mine from my dev machine:
- 574 git
- 461 cd
- 422 vim
- 314 ls
- 202 gss
- 109 exit
- 97 php
- 68 sudo
- 64 ag
- 41 ..
I think it’s fun to see what you use most often. Also, as a bonus, if you are a PhpStorm user go to help -> productivity guide to see what features of the IDE you use most often.