From: William Scott <wgscott@chemistry.ucsc.edu>
To: lists@tntluoma.com
Cc: zsh-users@sunsite.dk
Subject: Re: how do I find my IP address
Date: Sun, 13 Jun 2004 18:30:23 -0700 [thread overview]
Message-ID: <67BDB808-BDA2-11D8-9044-000A957D73C4@chemistry.ucsc.edu> (raw)
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/
next reply other threads:[~2004-06-14 1:31 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-14 1:30 William Scott [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=67BDB808-BDA2-11D8-9044-000A957D73C4@chemistry.ucsc.edu \
--to=wgscott@chemistry.ucsc.edu \
--cc=lists@tntluoma.com \
--cc=zsh-users@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).