network info

Glenn Dawson glenn at antimatter.net
Sat Jul 30 17:04:18 GMT 2005


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

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
>_______________________________________________
>freebsd-questions at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"



More information about the freebsd-questions mailing list