Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Jan 2002 16:36:15 -0800
From:      "Crist J . Clark" <cjc@FreeBSD.ORG>
To:        Jonathan Chen <jonc@chen.org.nz>
Cc:        Joe Rodrigues <jxr2000@tmlp.com>, freebsd questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Find command
Message-ID:  <20020119163615.D63556@blossom.cjclark.org>
In-Reply-To: <20020120112406.A1594@grimoire.chen.org.nz>; from jonc@chen.org.nz on Sun, Jan 20, 2002 at 11:24:06AM %2B1300
References:  <000d01c1a137$30948ec0$f449fea9@tmlp.com> <20020120112406.A1594@grimoire.chen.org.nz>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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