Created
December 18, 2018 06:00
-
-
Save chapagainmanoj/f163770d40aecc201f0bcad7e04bf7ab to your computer and use it in GitHub Desktop.
your top 20 terminal commands
This file contains 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 "./" | \ | |
column -c3 -s " " -t | \ | |
sort -nr | nl | head -n 20 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment