Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Aug 2000 22:17:46 +0100
From:      Ben Smithurst <ben@FreeBSD.org>
To:        Linh Pham <lplist@closedsrc.org>
Cc:        Emmanuel Gravel <e_gravel@yahoo.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: [OT] shell scripting, testing for files
Message-ID:  <20000810221745.M48327@strontium.scientia.demon.co.uk>
In-Reply-To: <Pine.BSF.4.21.0008101213200.29554-100000@q.closedsrc.org>
References:  <20000810191204.27627.qmail@web1607.mail.yahoo.com> <Pine.BSF.4.21.0008101213200.29554-100000@q.closedsrc.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Linh Pham wrote:

> Have you tried:
> 
> find /PATH_TO_START_SEARCH_AT | grep PATTERN ?

Or even

find /path/... -name "PATTERN"

(unless you really want to use a regex instead of a shell glob, but I
don't think the original poster did.)

-- 
Ben Smithurst                 / ben@FreeBSD.org / PGP: 0x99392F7D
FreeBSD Documentation Project /


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000810221745.M48327>