Skip to content

Instantly share code, notes, and snippets.

@blackknight36
Last active March 6, 2017 00:26
Show Gist options
  • Select an option

  • Save blackknight36/66f7e884b7997bb154eb822ae24333e1 to your computer and use it in GitHub Desktop.

Select an option

Save blackknight36/66f7e884b7997bb154eb822ae24333e1 to your computer and use it in GitHub Desktop.
Find IPs in file:
awk '/[0-9]+\.[0-9]+\.[0-9]+\./ {print $1}' var/log/httpd/access.log*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment