Skip to content

Instantly share code, notes, and snippets.

@arturoleon
Created June 21, 2013 20:07
Show Gist options
  • Save arturoleon/5833945 to your computer and use it in GitHub Desktop.
Save arturoleon/5833945 to your computer and use it in GitHub Desktop.
Count and sort IP's by accesses number.
cat access_log |awk '{print $1}' |sort | uniq -c | sort -n
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment