On Sun, Aug 26, 2007 at 05:11:25PM +0200, Vincent Lefevre wrote: > 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. can also use ip li, it will show all network links on your box and ip a > > -- > Vincent Lefèvre <vincent@vinc17.org> - 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 debian-user-REQUEST@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org > >
Attachment:
signature.asc
Description: Digital signature