azalea says

Linux: lookup ip address, subnet mask, gateway, and dns at same time

ifconfig 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

linux ubuntu · Tweet Edit