On Fri, Oct 3, 2008 at 7:24 AM, Akemi Yagi <[EMAIL PROTECTED]> wrote: > On Fri, Oct 3, 2008 at 6:54 AM, Bo Lynch <[EMAIL PROTECTED]> wrote: >> >> I would recommend taking a look at grep. THere are many ways you can use it. > > One such example is: > > find . -type f -exec grep -il !* {} \; -exec grep -i !* {} \; -exec echo \; > > alias it to, say, findword and run: findword <text>
Sorry, I missed the "!" in the above paste: find . -type f -exec grep -il \!* {} \; -exec grep -i \!* {} \; -exec echo \; _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos