Skip to content

Instantly share code, notes, and snippets.

@hoosteeno
Created March 11, 2014 20:29
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 hoosteeno/9494303 to your computer and use it in GitHub Desktop.
Save hoosteeno/9494303 to your computer and use it in GitHub Desktop.
get unique IPs from apache logs
egrep -i 'wget' 982257_51195_wget.log | awk '{print $1}' | sed -r 's/^.+?gz\:(.+)$/\1/' | uniq -c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment