delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
To: | cygwin AT cygwin DOT com |
From: | Andrew DeFaria <Andrew AT DeFaria DOT com> |
Subject: | Re: how to get IP with a shell command? |
Date: | Tue, 20 Apr 2004 13:52:43 -0700 |
Lines: | 11 |
Message-ID: | <c642io$c66$1@sea.gmane.org> |
References: | <F76C9B2DA2FC4C4CA0A18E288BBCBCF7082177F9 AT nihexchange24 DOT nih DOT gov> |
Mime-Version: | 1.0 |
X-Complaints-To: | usenet AT sea DOT gmane DOT org |
X-Gmane-NNTP-Posting-Host: | 12.9.207.201 |
User-Agent: | Mozilla Thunderbird 0.5 (Windows/20040207) |
In-Reply-To: | <F76C9B2DA2FC4C4CA0A18E288BBCBCF7082177F9@nihexchange24.nih.gov> |
Buchbinder, Barry (NIH/NIAID) wrote: > How about: > > /c/tmp> ipconfig /all | gawk '/IP Address/ { print $NF }' Why /all when the IP address comes out without it? Why gawk when awk is simply a symlink to gawk anyway? -- SENILE.COM found . . . Out Of Memory . . . -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |