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?"

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to