On 07/09/10 20:37, James wrote:
Amit Dor-Shifer<amitds<at>  oversi.com>  writes:


Can anyone recommend a tool that can parse networking info from a/m
file, so one can use it to query, e.g. what is the static IP configured
on eth0?
Amit
/sbin/ifconfig -a


???

if not, look at the iproute, netstat, etc etc
commands...

hth,
James
AFAIK, all those would only work once the interface is up. They don't have the capability to just read cfg and emit what's there is some usable form.
Amit






Reply via email to