On Thu, 23 Aug 2007 17:31:03 -0400
Orestes leal <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]