Find Your Most Used Bash Commands

If you want to see what your most used commands are within Terminal (will work on Linux too). You can run this command:

~

If you want to see what your most used commands are within Terminal (will work on Linux too). You can run this command:

history | awk '{print $2}' | sort | uniq -c | sort -rn | head