Skip to content

Instantly share code, notes, and snippets.

@tearoom6
Created December 15, 2015 01:43
Show Gist options
  • Save tearoom6/6dc03822213bd650c661 to your computer and use it in GitHub Desktop.
Save tearoom6/6dc03822213bd650c661 to your computer and use it in GitHub Desktop.
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