Prev: Dillo question
Next: Defragmenting Hard Drive
From: lora on 17 Jan 2010 20:53 Hello, suppose i have a linux box with multiple NICs and multiple IPs. Is there a way via ifconfig to just dump out the IP addresses and not the other addresses like bridges, etc, etc.? I don't have a way of knowing if it's eth0 or eth1, etc that contains the IPs. Thank you!
From: J.O. Aho on 18 Jan 2010 01:09 lora wrote: > Hello, > suppose i have a linux box with multiple NICs and multiple IPs. Is > there a way via ifconfig to just dump out the IP addresses and not the > other addresses like bridges, etc, etc.? > > I don't have a way of knowing if it's eth0 or eth1, etc that contains > the IPs. ifconfig | grep -B 1 inet -- //Aho
|
Pages: 1 Prev: Dillo question Next: Defragmenting Hard Drive |