zsh-users
 help / color / mirror / code / Atom feed
* Re: how do I find my IP address
@ 2004-06-14  1:30 William Scott
  2004-06-14  3:37 ` Jason Price
  2004-06-14  3:57 ` Timothy Luoma
  0 siblings, 2 replies; 7+ messages in thread
From: William Scott @ 2004-06-14  1:30 UTC (permalink / raw)
  To: lists; +Cc: zsh-users

Timothy:

If you are running a computer with an ip address that changes 
(dynamically allocated), this will work, although it is kind of ugly:

define an alias such as:

alias myip="curl -s http://www.showmyip.com/simple/ | awk '{print $1}'  
"



I would echo the output of myip into something at login rather than 
grab it off the internet every time I hit the return key.


If you have a static ip address, you should only have to figure this 
out once.   On Mac OS X you can find this in the System Preferences 
under file sharing or network settings (I am assuming this on the basis 
of the Micro$oft email stamp at the bottom of your email.)

This alias and a whole bunch of stuff that is useful for OS X zsh is 
distributed by Gary Kerbaugh.  I have links to it and a few of my own 
zsh functions here:  http://tinyurl.com/3373b

Bill Scott


  http://www.apple.com/trailers/lions_gate/fahrenheit_911/




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-06-14 13:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-14  1:30 how do I find my IP address William Scott
2004-06-14  3:37 ` Jason Price
2004-06-14 10:58   ` Jussi Pakkanen
2004-06-14 11:57   ` Vincent Lefevre
2004-06-14 12:23     ` James Devenish
2004-06-14 13:18       ` Vincent Lefevre
2004-06-14  3:57 ` Timothy Luoma

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).