Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Aug 1998 15:39:16 -0400 (EDT)
From:      CyberPeasant <djv@bedford.net>
To:        beaupran@JSP.UMontreal.CA (BEAUPRE Antoine)
Cc:        peter@sweda.com.hk, freebsd-questions@FreeBSD.ORG
Subject:   Re: find command
Message-ID:  <199808271939.PAA12022@lucy.bedford.net>
In-Reply-To: <Pine.SGI.3.96.980827075907.11313B-100000@derby.jsp.umontreal.ca> from BEAUPRE Antoine at "Aug 27, 98 08:00:24 am"

next in thread | previous in thread | raw e-mail | index | archive | help
BEAUPRE Antoine wrote:
> This is unclear.
> 
> Try 
> 
> find . -name bozo 
> 
> to find all the files and directories with "bozo" in their names, starting
> in current dir (.)

No, this finds all files named exactly "bozo".

To find all files with 'bozo' in their names, you need to use a
regex:

	find . -name '*bozo*'

Quoting usually needed, so that the regex is not expanded by the shell.

Dave

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?199808271939.PAA12022>