List 10 most often used commands
$ history | awk '{a[$2]++}END{for(i in a){print a[i] " " i}}' | sort -rn | head
Written by Don Johnson
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Shell
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#