Skip to content

Instantly share code, notes, and snippets.

@marcelaraujo
Created October 18, 2013 14:44
Show Gist options
  • Save marcelaraujo/7042602 to your computer and use it in GitHub Desktop.
Save marcelaraujo/7042602 to your computer and use it in GitHub Desktop.
10 commands most used
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