From owner-freebsd-questions Thu Aug 27 12:55:40 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA15625 for freebsd-questions-outgoing; Thu, 27 Aug 1998 12:55:40 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from lucy.bedford.net (lucy.bedford.net [206.99.145.54]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA15549 for ; Thu, 27 Aug 1998 12:55:05 -0700 (PDT) (envelope-from listread@lucy.bedford.net) Received: (from listread@localhost) by lucy.bedford.net (8.8.8/8.8.8) id PAA12022; Thu, 27 Aug 1998 15:39:16 -0400 (EDT) (envelope-from listread) Message-Id: <199808271939.PAA12022@lucy.bedford.net> Subject: Re: find command In-Reply-To: from BEAUPRE Antoine at "Aug 27, 98 08:00:24 am" To: beaupran@JSP.UMontreal.CA (BEAUPRE Antoine) Date: Thu, 27 Aug 1998 15:39:16 -0400 (EDT) Cc: peter@sweda.com.hk, freebsd-questions@FreeBSD.ORG X-no-archive: yes Reply-to: djv@bedford.net From: CyberPeasant X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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