[Gambas-user] Obtain my IP with Gambas
David Villalobos Cambronero
david_villalobos_c at ...43...
Wed Sep 9 18:00:00 CEST 2009
Hi, It works just fine. Thanks Jean-Yves
Regards
--
David
----- Original Message ----
From: Jean-Yves F. Barbier <12ukwn at ...626...>
To: mailing list for gambas users <gambas-user at lists.sourceforge.net>
Sent: Wednesday, September 9, 2009 9:44:14 AM
Subject: Re: [Gambas-user] Obtain my IP with Gambas
David Villalobos Cambronero a écrit :
> Hi, is there an easy way to obtain my IP address?
by shell, I use:
ifconfig | grep inet | cut -d: -f2 | cut -d' ' -f1 | grep -v 127
if you have multiple interfaces, you must add (for each unwanted):
| grep -v nnn.nnn.nnn.nnn
at the end
HTH
JY
--
I don't mind what Congress does, as long as they don't do it in the
streets and frighten the horses.
-- Victor Hugo
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Gambas-user mailing list
Gambas-user at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user
More information about the User
mailing list