From owner-freebsd-questions Tue Oct 1 3:23:25 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 0ACEC37B401 for ; Tue, 1 Oct 2002 03:23:24 -0700 (PDT) Received: from vectors.cx (manifold.vectors.cx [64.163.147.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id 86D8B43E75 for ; Tue, 1 Oct 2002 03:23:23 -0700 (PDT) (envelope-from monkey@vectors.cx) Received: from vectors.cx (32ef107083aefb12f00140ad77f7411e@localhost [127.0.0.1]) by vectors.cx (8.12.6/8.12.4) with ESMTP id g91AODho042729; Tue, 1 Oct 2002 03:24:13 -0700 (PDT) (envelope-from monkey@vectors.cx) Received: (from monkey@localhost) by vectors.cx (8.12.6/8.12.6/Submit) id g91AODcT042728; Tue, 1 Oct 2002 03:24:13 -0700 (PDT) (envelope-from monkey) Date: Tue, 1 Oct 2002 03:24:13 -0700 From: Adam Weinberger To: Lee Gold Cc: freebsd-questions@FreeBSD.ORG Subject: Re: unix locate cmd Message-ID: <20021001102412.GJ77771@vectors.cx> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 >> (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, > > root# /usr/libexec/locate.unpdatedb when you run the program, you're leaving out the 'n' in locate.updatedb, right? > root# setenv $LOCATE_PATH /var/db/locate.database > > I've tried root# locate "filename" > with different input but the command gives no > feedback or output - it just goes to a new prompt. > and of course, > # locate .xinitrc or \.initrc or anything else gives no > out from the cmd. what am I doing wrong? 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? -Adam -- "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