Created
January 9, 2023 14:36
-
-
Save kgsnipes/301f86fc435f7d0242d17eaf3e0d66d0 to your computer and use it in GitHub Desktop.
finding for errors on log files on linux - from Dr Werners presentation
This file contains hidden or 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
cat access.log | grep "/some/path" | grep "\" 500" | rev | cut -d " " -f4 | rev | sort | uniq |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment