Determining IP addr via script?
Michael Hipp
mhipp
Mon May 17 11:34:36 PDT 2004
On Monday 08 July 2002 09:08 pm, edj wrote:
> Well, the "lynx . . ." command can end with a redirect (> filename), but
> then you get all the http stuff. Easier to just give the "p" command to
> lynx. Then you get a nice, readable, file.
Hehe. I love it.
# lynx -dump http://whatismyip.com | grep 'Your IP'
Your IP is 66.82.48.1
Works perfect. I will also try it with the -auth trick on the LinkSys box
next time I'm there.
Thanks all,
Michael
More information about the Linux-users
mailing list