On 10/8/05, Maximillian Murphy <[EMAIL PROTECTED]> wrote:
> I'd always include a -type for something like that, otherwise what
> happens is that grep tries to run on some pipe in /dev/ and hangs forever.
>
> find / -name '*' -type f -exec grep -l "welcome here" {} \;

Good point.  I usually only run find on fairly restrictive
directories, usually looking for something in one of my own files or a
command definition in LaTeX.

--
Michael A. Marsh
http://www.umiacs.umd.edu/~mmarsh
http://mamarsh.blogspot.com

Reply via email to