From owner-freebsd-questions Mon Jan 21 8:23:45 2002 Delivered-To: freebsd-questions@freebsd.org Received: from cswgraphics.com (host-64-65-195-100.choiceone.net [64.65.195.100]) by hub.freebsd.org (Postfix) with ESMTP id 9782437B405 for ; Mon, 21 Jan 2002 08:23:40 -0800 (PST) Received: from citystamp.com (wanid.cswgraphics.com [64.65.195.58]) by cswgraphics.com (8.9.1b+Sun/8.9.1) with ESMTP id LAA27898; Mon, 21 Jan 2002 11:21:12 -0500 (EST) Message-ID: <3C4C406B.D1EFB54F@citystamp.com> Date: Mon, 21 Jan 2002 11:23:07 -0500 From: "Matthew P. Marino" Reply-To: bind9@citystamp.com Organization: City Stamp Works Inc. X-Mailer: Mozilla 4.75C-CCK-MCD {C-UDP; EBM-APPLE} (Macintosh; U; PPC) X-Accept-Language: en,pdf MIME-Version: 1.0 To: Joe Rodrigues Cc: freebsd questions Subject: Re: Find command References: <000d01c1a137$30948ec0$f449fea9@tmlp.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 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