Gentoo Archives: gentoo-user

From: Jorge Almeida <jalmeida@××××××××××××.pt>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] file with IP?
Date: Fri, 04 Nov 2005 16:52:15
Message-Id: Pine.LNX.4.63.0511041638270.15683@weber.math.ist.utl.pt
In Reply to: Re: [gentoo-user] file with IP? by brullo nulla
1 On Fri, 4 Nov 2005, brullo nulla wrote:
2
3 > Given this hell, I can't see why my original suggestion of parsing
4 > ifconfig has not been taken into account... a couple of lines of
5 >
6 It has, at least by the OP (that would be me).
7
8 /sbin/ifconfig|grep -m 1 inet|sed -e 's/^\s*inet addr://'|sed -e 's/\s.*$//'
9 --
10 Jorge Almeida
11 --
12 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] file with IP? brullo nulla <brullonulla@×××××.com>