From: lora on
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
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