network info

Chris racerx at makeworld.com
Sat Jul 30 17:09:22 GMT 2005


Glenn Dawson wrote:
> At 08:08 AM 7/30/2005, Sean wrote:
> 
>> What command can display all the network parameters assigned from
>> dhcp, such DNS?
>> I have looked at ifconfig and netstat but unless I missed a switch I
>> do not see them as correct choices.
> 
> 
> Not exactly one command, but you could do
> 
> ifconfig && cat /etc/resolv.conf

Toss an extra && sockstat -4 for even more info.

> 
> If it's something you need to do frequently, you could make an alias for
> it, or a shell script.
> 
> -Glenn
> 
> 
>> Basically the equiv of ipconfig /all in Windows?
>>
>>                         Thanks
>>                         Sean



-- 
Best regards,
Chris

History repeats itself.
that's one of the things wrong with history.


More information about the freebsd-questions mailing list