Last active
January 24, 2018 13:19
-
-
Save JBlond/ec9a68876e981f689ab9ef968be07f11 to your computer and use it in GitHub Desktop.
most used commands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
history | awk '{CMD[$2]++;count++;}END { for (a in CMD)print CMD[a] " " CMD[a]/count*100 "% " a;}' | grep -v "./" | grep -v "ls" | grep -v "cd" | grep -v "exit" | column -c3 -s " " -t | sort -nr | nl | head -n10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment