From owner-freebsd-questions Sat Jan 19 16:36:26 2002 Delivered-To: freebsd-questions@freebsd.org Received: from gull.prod.itd.earthlink.net (gull.mail.pas.earthlink.net [207.217.120.84]) by hub.freebsd.org (Postfix) with ESMTP id 7C18037B417 for ; Sat, 19 Jan 2002 16:36:19 -0800 (PST) Received: from dialup-209.247.139.36.dial1.sanjose1.level3.net ([209.247.139.36] helo=blossom.cjclark.org) by gull.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16S5y6-0003gx-00; Sat, 19 Jan 2002 16:36:19 -0800 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.3) id g0K0aFv64704; Sat, 19 Jan 2002 16:36:15 -0800 (PST) (envelope-from cjc) Date: Sat, 19 Jan 2002 16:36:15 -0800 From: "Crist J . Clark" To: Jonathan Chen Cc: Joe Rodrigues , freebsd questions Subject: Re: Find command Message-ID: <20020119163615.D63556@blossom.cjclark.org> References: <000d01c1a137$30948ec0$f449fea9@tmlp.com> <20020120112406.A1594@grimoire.chen.org.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020120112406.A1594@grimoire.chen.org.nz>; from jonc@chen.org.nz on Sun, Jan 20, 2002 at 11:24:06AM +1300 X-URL: http://people.freebsd.org/~cjc/ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Jan 20, 2002 at 11:24:06AM +1300, Jonathan Chen wrote: > On Sat, Jan 19, 2002 at 05:18:14PM -0500, Joe Rodrigues wrote: > > Hello, > > > > I am having problems (to say the least) with this command. My frustration > > level has been raised to new heights. > > > > Can anybody tell me what is wrong with the syntax bellow. > > > > 1. find -name xinitrc > > > > 2. find -f /usr/X11R6 -name xinitrc > > > > > > The first command it does not recognize the -name primary > > The first argument to find(1) must be a pathname. > > find /usr/X11R6 -name xinitrc -print ...Or list of pathnames. $ find /usr/bin /usr/sbin bin -name somefile -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message