Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Jan 2002 11:24:06 +1300
From:      Jonathan Chen <jonc@chen.org.nz>
To:        Joe Rodrigues <jxr2000@tmlp.com>
Cc:        freebsd questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Find command
Message-ID:  <20020120112406.A1594@grimoire.chen.org.nz>
In-Reply-To: <000d01c1a137$30948ec0$f449fea9@tmlp.com>; from jxr2000@tmlp.com on Sat, Jan 19, 2002 at 05:18:14PM -0500
References:  <000d01c1a137$30948ec0$f449fea9@tmlp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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
-- 
Jonathan Chen <jonc@chen.org.nz>
----------------------------------------------------------------------
                                                 Vini, vidi, velcro...
                                         I came, I saw, I stuck around

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?20020120112406.A1594>