Answers for "bash most used history function"

0

bash most used history function

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 -n10
Posted by: Guest on August-02-2020

Code answers related to "bash most used history function"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language