Created
February 11, 2014 07:29
-
-
Save poliu2s/8930585 to your computer and use it in GitHub Desktop.
Count number of unique IPs in Apache access log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
awk '{!a[$1]++}END{for(i in a) if ( a[i] >10 ) print a[i],i }' file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment