Need help from the sed gods
obrakmann at gmx.net
Sun Sep 22 05:12:21 PDT 2002
I need a little help:
I want to extract the IP address of a running network interface
from the output of 'ifconfig $interface'.
I get as far as 'ifconfig $interface | head -2 | tail -1 | sed ...'
Can anybody tell me which sed expression I have to use to get
the IP address?
A big thanks in advance,
NP: Deftones - My own summer (Shove it)
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-chat' in the subject header of the message
More information about the lfs-chat