In the interest of diversity, another $.02: Iproute2's ip command is another method to get the IP address for an interface. In fact, it's possible to configure additional IP address which show up using the ip command and does not show up on ifconfig, it's a good command for sysadmins to know about. To show the addresses configured: ip a To add another address to an interface: ip a add 192.168.2.2/24 brd 192.168.2.255 dev eth0 ip a shows the secondary address and ifconfig doesn't. The ip command does lots of sexy stuff and is worth taking the time to master. rna On Tue, 21 Dec 2004, Josef Lowder wrote: > > With winxp there is a command 'ipconfig/all' that gets the ip number > of the mail server. What Linux command does that? > > --------------------------------------------------- > PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us > To subscribe, unsubscribe, or to change you mail settings: > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss > --------------------------------------------------- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change you mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss