Skip to content

Instantly share code, notes, and snippets.

@dinks
Created May 29, 2015 14:41
Show Gist options
  • Save dinks/2a694f06192540f4540b to your computer and use it in GitHub Desktop.
Save dinks/2a694f06192540f4540b to your computer and use it in GitHub Desktop.
Ips for 404 on Apache Logs
cat /var/log/apache2/access.log |grep " 404 " | awk '{print $1}' | sort -n | uniq -c | sort -nr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment