Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Nov 2001 14:18:46 -0800
From:      "Crist J. Clark" <cristjc@earthlink.net>
To:        Zev Thompson <zev@interchange.ubc.ca>
Cc:        Sean Ellis <sellis@intergate.ca>, freebsd-questions@FreeBSD.ORG
Subject:   Re: ipfw script values
Message-ID:  <20011106141846.C386@blossom.cjclark.org>
In-Reply-To: <3.0.32.20011106123552.00db8e40@pop.interchange.ubc.ca>; from zev@interchange.ubc.ca on Tue, Nov 06, 2001 at 12:35:53PM -0800
References:  <3.0.32.20011106123552.00db8e40@pop.interchange.ubc.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Nov 06, 2001 at 12:35:53PM -0800, Zev Thompson wrote:
> Hi Sean, I use the following command in my rc.firewall:
> 
> ifconfig ex0 | grep "inet " | awk '{print $2}'

Pet peeve. I have to do this. I cannot help it. No offense intended.

  ifconfig ex0 | awk '/inet/ {print $2}'

-- 
Crist J. Clark                     |     cjclark@alum.mit.edu
                                   |     cjclark@jhu.edu
http://people.freebsd.org/~cjc/    |     cjc@freebsd.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011106141846.C386>