Linux: lookup ip address, subnet mask, gateway, and dns at same time
Aug 03, 2012ifconfig eth0 | grep “inet addr” ; route -n | grep UG ; grep nameserver /etc/resolv.conf |
听说gnome下有个NetworkManager Applet,拖到panel上可以直接看。但是用server的人伤不起啊。。
Reference:
http://ubuntuforums.org/showthread.php?t=1687109