Re: IP count
"Morten Nilsen" <[email protected]>
| Newsgroups | gmane.linux.trustix.general |
|---|---|
| Message-ID | <CkooiyjI.1164893738.6613190.mortenn@localhost> |
On 30/11/2006, "Ariën Huisken" <[email protected]> wrote: >cat /var/log/mail/info |grep "User unknown in virtual alias table"|cut >-f3 -d [|cut -f1 -d ]|sort|uniq -d -c to get a list, but I want only >entries where the IP is listed for more than 50 times or so. Quick fix; ... | awk '$1>50{print} {next}' -- Cheers, Morten :wq