Skip to content

Instantly share code, notes, and snippets.

Last active May 24, 2018
What would you like to do?
Filter apache log to get most 404 pages
grep " 404 " /var/log/apache2/access.log |
cut -d'"' -f2 |
cut -d' ' -f2 |
sort |
uniq -c |
sort -h -r
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment