From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11419 invoked from network); 14 Jun 2004 01:31:34 -0000 Received: from thor.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.86) by ns1.primenet.com.au with SMTP; 14 Jun 2004 01:31:34 -0000 Received: (qmail 12347 invoked from network); 14 Jun 2004 01:30:52 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 14 Jun 2004 01:30:52 -0000 Received: (qmail 29446 invoked by alias); 14 Jun 2004 01:30:32 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7533 Received: (qmail 29412 invoked from network); 14 Jun 2004 01:30:32 -0000 Received: from thor.dotsrc.org (HELO a.mx.sunsite.dk) (qmailr@130.225.247.86) by sunsite.dk with SMTP; 14 Jun 2004 01:30:29 -0000 Received: (qmail 11215 invoked from network); 14 Jun 2004 01:30:29 -0000 Received: from hydrogen.ucsc.edu (128.114.41.29) by a.mx.sunsite.dk with SMTP; 14 Jun 2004 01:30:27 -0000 Received: from [128.114.228.60] (ts6-060.dialup.ucsc.edu [128.114.228.60]) by hydrogen.ucsc.edu (8.12.11/8.12.11) with ESMTP id i5E1T3oE016204; Sun, 13 Jun 2004 18:29:04 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v618) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <67BDB808-BDA2-11D8-9044-000A957D73C4@chemistry.ucsc.edu> Content-Transfer-Encoding: 7bit Cc: zsh-users@sunsite.dk From: William Scott Subject: Re: how do I find my IP address Date: Sun, 13 Jun 2004 18:30:23 -0700 To: lists@tntluoma.com X-Mailer: Apple Mail (2.618) X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, hits=-0.9 required=6.0 tests=BAYES_30 autolearn=no version=2.63 X-Spam-Hits: -0.9 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/