Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Dec 2007 16:34:22 -0800
From:      Noah <admin2@enabled.com>
To:        Giorgos Keramidas <keramida@ceid.upatras.gr>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: removing ipfw rules
Message-ID:  <4774448E.5050704@enabled.com>
In-Reply-To: <20071228002153.GC47064@kobe.laptop>
References:  <47743999.3010908@enabled.com> <20071228002153.GC47064@kobe.laptop>

next in thread | previous in thread | raw e-mail | index | archive | help
thanks for the response.

I was Looking for awk to do some of the parsing like this:

/sbin/ipfw list | grep '%IP%' | awk '{ print "ipfw -q delete " $1 }' | sh


cheers,

Noah






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