From owner-freebsd-questions Tue Oct 1 13: 0:15 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 A286737B404 for ; Tue, 1 Oct 2002 13:00:11 -0700 (PDT) Received: from vectors.cx (manifold.vectors.cx [64.163.147.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id E4ACC43EAF for ; Tue, 1 Oct 2002 13:00:02 -0700 (PDT) (envelope-from monkey@vectors.cx) Received: from vectors.cx (4120878d2916857ebb8a1af38dde7f71@localhost [127.0.0.1]) by vectors.cx (8.12.6/8.12.4) with ESMTP id g91K0Aho043805; Tue, 1 Oct 2002 13:00:10 -0700 (PDT) (envelope-from monkey@vectors.cx) Received: (from monkey@localhost) by vectors.cx (8.12.6/8.12.6/Submit) id g91K097C043804; Tue, 1 Oct 2002 13:00:09 -0700 (PDT) (envelope-from monkey) Date: Tue, 1 Oct 2002 13:00:09 -0700 From: Adam Weinberger To: Lee Gold Cc: freebsd-questions@FreeBSD.ORG Subject: Re: unix locate cmd Message-ID: <20021001200009.GK77771@vectors.cx> References: <20021001102412.GJ77771@vectors.cx> <000601c2693b$eb586160$ede03ad0@ljgms2k> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000601c2693b$eb586160$ede03ad0@ljgms2k> X-Editor: Vim 6.1 http://www.vim.org X-Mailer: Mutt 1.5 http://www.mutt.org X-URL: http://www.vectors.cx http://www.crackula.com User-Agent: Mutt/1.5.1i 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 k. first of all, do you actually HAVE any copies of an .xinitrc file? the system-wide one has no dot. if you DO have one, it's typically in ~/.xinitrc. is your /home partition not a ufs partition? locacte.updatedb will only index ufs partitions by default. -Adam >> (10.01.2002 @ 0415 PST): Lee Gold said, in 0.9K: << > > > > >> (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 > >> end of "Re: unix locate cmd" from Lee Gold << -- "Oh good, my dog found the chainsaw." -Lilo, "Lilo & Stitch" Adam Weinberger adam@vectors.cx http://vectors.cx To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message