On 2007-08-23 17:36:55 -0400, Orestes leal wrote:
> ifconfig -a | grep 'inet' | awk '{ print $2 }'
> 
> Where the first result comes from the first interface, and so on
> the last line it's your loopback address, bye.

No, not necessarily: after lo, you can have sit0 (I don't know if it
is used in practice) and/or usb0.

-- 
Vincent Lefèvre <[EMAIL PROTECTED]> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to