Skip to content

Instantly share code, notes, and snippets.

@Dispader
Created June 29, 2017 22:14
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 Dispader/3fcd6c8dc53118deba0a5932366749e0 to your computer and use it in GitHub Desktop.
Save Dispader/3fcd6c8dc53118deba0a5932366749e0 to your computer and use it in GitHub Desktop.
#!/bin/bash
grep --no-filename --only-matching --extended-regexp --regexp='([[:digit:]]{1,3}\.){3}[[:digit:]]{1,3}' **/access.log*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment