Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: Command to see ip address on etch stable

From: Alex Samad <alex(at)samad.com.au>
Date: Sun Aug 26 2007 - 17:07:58 EDT


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(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
>
>

-- 
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 17:08:22 2007

This archive was generated by hypermail 2.1.8 : Sun Oct 07 2007 - 02:59:18 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library