Discussion: counting ip addresses
Afficher un message
Vieux 27/10/2006, 16h27   #3
rogv24@yahoo.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: counting ip addresses

thank you.

Eric Moors wrote:
> rogv24@yahoo.com wrote:
>
> > I am trying to write a routine to provide counts from a list of IP
> > addresses that are sorted.
> >
> > example:
> >
> > 2.3.4.5
> > 2.3.4.5
> > 2.3.4.5
> > 10.20.20.40
> > 10.20.20.40
> >
> > report would like this 2.3.4.5 - sum 3
> > 10.20.20.40 - sum 2
> >

>
> I would suggest you take a look at the uniq command,
> and especially to its -c flag.
>
> Eric


  Réponse avec citation
 
Page generated in 0,04710 seconds with 9 queries