Subject: Re: /etc/services duplicates
To: Thilo Jeremias <jeremias@optushome.com.au>
From: Thilo Jeremias <jeremias@optushome.com.au>
List: netbsd-users
Date: 06/19/2007 21:35:07
Thilo Jeremias wrote:
> Patrick Welche wrote:
>> On Mon, Jun 18, 2007 at 11:33:03PM +1000, Thilo Jeremias wrote:
>>  
>>> Hi guys.
>>>
>>> is it correct, that the /etc/services contains
>>> all x11 services twice?
>>>
>>> 2 * 6000/udp
>>> 2* 6000/tcp
>>> ... 6063/*
>>>     
>>
>> No it isn't! You found some more ... (already had 2 goes at removal 
>> according
>> to cvs log etc/services)
>>
>> Cheers,
>>
>> Patrick
>>   
> sort /etc/services | uniq -c | egrep -c ' 1 '
Ups TYPO: egrep -v ' 1 ' of corse, sorry
>
> is the easiest way
> :-)
>
> Just out of curiosity I spent 1h to find that I had to run services_mkdb
>
> It is not yet mentioned in the man page  for (5) services that this 
> has changes  and WILL probably confuse more people.
>
> thanks
>
> thilo