Last active
December 18, 2015 02:49
-
-
Save fkztw/5713815 to your computer and use it in GitHub Desktop.
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
2013.06.05 21:24 | |
$ history | awk '{CMD[$2]++;count++;} END { for (a in CMD )print CMD[ a ]" " CMD[ a ]/count*100 "% " a}' | grep -v "./" | column -c 3 -s " " -t | sort -nr | nl | head -n 10 | |
1 611 12.22% ls | |
2 585 11.7% sudo | |
3 519 10.38% cd | |
4 453 9.06% vim | |
5 214 4.28% ping | |
6 133 2.66% telnet | |
7 115 2.3% ip | |
8 100 2% rm | |
9 96 1.92% man | |
10 91 1.82% nbab1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment