From owner-freebsd-questions Tue Oct 1 4:15:27 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5CEE937B401 for ; Tue, 1 Oct 2002 04:15:26 -0700 (PDT) Received: from smtp03.mrf.mail.rcn.net (smtp03.mrf.mail.rcn.net [207.172.4.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 01F6F43E75 for ; Tue, 1 Oct 2002 04:15:26 -0700 (PDT) (envelope-from goldtech@worldpost.com) Received: from 208-58-224-237.s237.tnt1.clmb.md.dialup.rcn.com ([208.58.224.237] helo=ljgms2k) by smtp03.mrf.mail.rcn.net with smtp (Exim 3.35 #1) id 17wKzs-00053B-00; Tue, 01 Oct 2002 07:15:25 -0400 Message-ID: <000601c2693b$eb586160$ede03ad0@ljgms2k> Reply-To: "Lee Gold" From: "Lee Gold" To: "Adam Weinberger" Cc: References: <20021001102412.GJ77771@vectors.cx> Subject: Re: unix locate cmd Date: Tue, 1 Oct 2002 07:15:49 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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 > >> (10.01.2002 @ 0418 PST): Lee Gold said, in 0.5K: << > > I'm trying to use the locate cmd to find all > > instances of .xinitrc in my system. I did,.... > > ..snip.. > > when you run the program, you're leaving out the 'n' in locate.updatedb, > right? that's an email typo. ...snip... > so you can't locate anything at all? so, for example, "locate termcap" > gives no output? what's the filesize of your /var/db/locate.database? the db is about 420kb sorry, it works perfectly $locate temp or $locate X11 give big lists. I think I'm getting stuck on the dot beginning the string .xinitrc - I must not be handling that leading "." correctly w/locate. The output of $locate .xinitrc is nothing just a new prompt. What would be the reason? Thanks for this help, Lee To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message