Created
October 6, 2020 22:39
-
-
Save joelvh/306bf998a08ce8123a2f54e3089ee0f0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Parse out 404's and count them with `head` | |
grep '" 404' website.apachestyle.log* | cut -d'"' -f2 | sort | uniq -c | sort -nr | head | |
# Remove `head` to get all results | |
grep '" 404' website.apachestyle.log* | cut -d'"' -f2 | sort | uniq -c | sort -nr |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment