Searching contents of files
Kevin D. Kinsey, DaleCo, S.P.
kdk at daleco.biz
Wed Oct 22 00:10:59 PDT 2003
jason dictos wrote:
> I've always used grep text /*/*/* to recursivly search directories for
>files with the specified text string in them, however this method doesn't
>always work very well (sometimes it bails out halfway through with error
>"Argument list too long").
>Is there a more effective way to search the contents of files?
$grep -r text *
More information about the freebsd-questions