Skip to content

Instantly share code, notes, and snippets.

@rojenzaman
Created September 6, 2020 19:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rojenzaman/29dfe4dde2f6ae2607e2cdd7d3531052 to your computer and use it in GitHub Desktop.
Save rojenzaman/29dfe4dde2f6ae2607e2cdd7d3531052 to your computer and use it in GitHub Desktop.
/var/log/auth.log parse
grep -o "[0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+" auth.log | sort | uniq -c | sort -n
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment