[CentOS] Not firewall, but what?

m.roth at 5-cent.us m.roth at 5-cent.us
Thu May 13 19:47:27 UTC 2010


Gordon wrote:
> On 05/11/2010 10:21 PM, Jussi Hirvi wrote:
>> On 12.5.2010 3.25, Gordon Messmer wrote:
>>> On 05/11/2010 10:21 AM, Jussi Hirvi wrote:
>>>>
<snip>
> Find it harder:
> find /etc/ -type f -print0 | xargs -0 grep "ip rule"

Or, since modern find's default to -print, you could do
find /etc -type f -exec grep -l "ip rule" {} \;

        mark "of all the ways you *can* do it in *Nix, how
               would you *like* to do it?"




More information about the CentOS mailing list