Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Quickly scan your Apache logs for 404 replies. Usage /bin/sh ./ /path/to/apache_log
awk '$9 == 404 {print $7}' ${1} | uniq -c | sort -rn | head
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.