Skip to content

Instantly share code, notes, and snippets.

@arturoleon
Created March 21, 2013 18:40
Show Gist options
  • Save arturoleon/5215543 to your computer and use it in GitHub Desktop.
Save arturoleon/5215543 to your computer and use it in GitHub Desktop.
Show accesses by IP.
cat /var/log/httpd/access.log | awk '{print $1}'| sort -n | uniq -c | sort -rn | head -n10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment