Kernel parameters

Vu Pham vu at sivell.com
Mon May 14 11:17:05 PDT 2012


On 05/14/2012 09:42 AM, Doug Hunley wrote:
> On Sun, May 13, 2012 at 12:31 AM, vu Pham<vu at sivell.com>  wrote:
>> find . | xargs grep ucast_solicit
>
> inefficient. use 'grep -rn ucast_solicit *' instead
> ;)
>

I agree.

The reason I use find most of the time is find supports the filename 
patterns such as ker*.txt or *parm*. I cannot do that  in grep. Of 
course, in this particular case, I do not have to use find, and your 
solution is better.

Thanks,

Vu


More information about the Linux-users mailing list