[olug] Unix Tip: GET YOUR IP-ADDRESS

Trent Melcher tmelcher at trilogytel.com
Fri Mar 21 14:17:55 UTC 2003


This is only useful if they are not behind a firewall or proxy runnig NAT.

Trent

-----Original Message-----
From: olug-bounces at olug.org [mailto:olug-bounces at olug.org]On Behalf Of
CM Miller
Sent: Thursday, March 20, 2003 10:46 PM
To: Omaha Linux User Group
Subject: Re: [olug] Unix Tip: GET YOUR IP-ADDRESS




If they have an internet connection,
then point browser to http://whatismyip.com/

--- David Walker <linux_user at grax.com> wrote:
> ipconfig or winipcfg
>
> but to my knowledge getting your IP address from
> within a script (batch file
> or vbscript) is not this simple.
>
> (I don't consider Windows to have very good guru
> support.)
>
> On Thursday 20 March 2003 09:53 pm, Sam Tetherow
> wrote:
> > What would Mom and Pop really need to know their
> ip address for?
> >
> > So what is the 'simple' way to get your ip address
> under windows?
> >
> > David Walker wrote:
> > >The beauty of it is that it is possible.
> > >
> > >Every decent operating system has guru support.
> > >
> > >If a user wished to know their IP address they
> can simply type ifconfig
> > >
> > >On Thursday 20 March 2003 01:43 pm, William E.
> Kempf wrote:
> > >>Unix Guru Universe said:
> > >>>Type this simple command at the unix-prompt
> > >>>
> > >>>ifconfig | grep "inet addr" |  grep -v
> "127.0.0.1" | awk '{print $2;}' |
> > >>> awk -F':' '{print $2;}'
> > >>
> > >>*chuckles*
> > >>
> > >>While as a developer I love the power behind
> these "little tools piped
> > >>together", it's exactly this sort of attitude
> ("Type this _simple_
> > >>command", emphasis mine) which continues to lead
> me to think Linux is for
> > >>the Gurus, and not Mom and Pop.
> > >
> > >_______________________________________________
> > >OLUG mailing list
> > >OLUG at olug.org
> > >http://lists.olug.org/mailman/listinfo/olug
> >
> > _______________________________________________
> > OLUG mailing list
> > OLUG at olug.org
> > http://lists.olug.org/mailman/listinfo/olug
>
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> http://lists.olug.org/mailman/listinfo/olug


=====
Winning an argument on the internet is like getting 1st place at the Special
Olympics

*****************************************
GAIM ID:  cmmiller1973
*****************************************

__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com
_______________________________________________
OLUG mailing list
OLUG at olug.org
http://lists.olug.org/mailman/listinfo/olug




More information about the OLUG mailing list