Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- popular1 () {
- fc -l 1 | awk '{CMD[$2]++;count++;}END { for (a in CMD)print CMD[a] " " CMD[a]/count*100 "% " a;}' | grep --color=auto --exclude-dir={.bzr,CVS,.git,.hg,.svn} -v "./" | column -c3 -s " " -t | sort -nr | nl | head -n20
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement