Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: Command to see ip address on etch stable

From: Orestes leal <orestesleal13022(at)cha.jovenclub.cu>
Date: Thu Aug 23 2007 - 17:36:55 EDT


On Thu, 23 Aug 2007 17:31:03 -0400
Orestes leal <orestesleal13022@cha.jovenclub.cu> wrote:

>
> > On Thu, Aug 23, 2007 at 04:02:46PM -0500, Michael Kerwin wrote:
> > > Is there a command on debian etch stable that you can run to see what ip address you are?
> >
>
>
> Try this
>
> ifconfig eth0 | grep inet | awk '{ print $2 }'
>
> Where eth0 it's your first network card, and so on.
> Good Luck.
>
> -olr.
>

Or, this

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.

-olr.

-- 
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Thu Aug 23 17:37:21 2007

This archive was generated by hypermail 2.1.8 : Sun Oct 07 2007 - 02:46:06 EDT


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