View Single Post
Old 10-10-2007, 08:00 PM  
rowan
Too lazy to set a custom title
 
Join Date: Mar 2002
Location: Australia
Posts: 17,393
Quote:
Originally Posted by rowan View Post
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
rowan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote