10-10-2007, 08:00 PM
|
|
Too lazy to set a custom title
Join Date: Mar 2002
Location: Australia
Posts: 17,393
|
Quote:
Originally Posted by rowan
then for each spyware name find the number of unique IPs that reference it:
grep -ci "seekmo" /path/to/access_log | awk '{print $1}' | sort -u | wc -l
|
Oops, drop the "-c"
grep -i "seekmo" /path/to/access_log | awk '{print $1}' | sort -u | wc -l
|
|
|