Skip to content

Instantly share code, notes, and snippets.

@shillcock
Created December 30, 2008 23:52
Show Gist options
  • Select an option

  • Save shillcock/41812 to your computer and use it in GitHub Desktop.

Select an option

Save shillcock/41812 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