Skip to content

Instantly share code, notes, and snippets.

@claudinec
Created October 21, 2013 23:42
Show Gist options
  • Save claudinec/7092764 to your computer and use it in GitHub Desktop.
Save claudinec/7092764 to your computer and use it in GitHub Desktop.
See your top 10 most used terminal commands
# By Eric Raio https://coderwall.com/p/15msta
history | awk '{a[$2]++}END{for(i in a){print a[i] " " i}}' | sort -rn | head
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment