Skip to content

Instantly share code, notes, and snippets.

@kgsnipes
Created January 9, 2023 14:36
Show Gist options
  • Save kgsnipes/301f86fc435f7d0242d17eaf3e0d66d0 to your computer and use it in GitHub Desktop.
Save kgsnipes/301f86fc435f7d0242d17eaf3e0d66d0 to your computer and use it in GitHub Desktop.
finding for errors on log files on linux - from Dr Werners presentation
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