Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jan 2002 11:23:07 -0500
From:      "Matthew P. Marino" <bind9@citystamp.com>
To:        Joe Rodrigues <jxr2000@tmlp.com>
Cc:        freebsd questions <freebsd-questions@FreeBSD.org>
Subject:   Re: Find command
Message-ID:  <3C4C406B.D1EFB54F@citystamp.com>
References:  <000d01c1a137$30948ec0$f449fea9@tmlp.com>

next in thread | previous in thread | raw e-mail | index | archive | help


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 second command does not find the file, even though it is there.
> 
> Thanks
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

try this;

 find /usr/X11R6 -name /*xinitrc/* -PRINT

  The backslash tells find to interpret the special character that follows as
the wildcard. More likely to get what you want that way.

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?3C4C406B.D1EFB54F>