Re: Command to see ip address on etch stable
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 <
vincent(at)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
Received on Sun Aug 26 11:28:45 2007
This archive was generated by hypermail 2.1.8
: Sun Oct 07 2007 - 02:58:09 EDT
|