Skip to content

Instantly share code, notes, and snippets.

@tzi
Last active May 24, 2018
Embed
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