From owner-freebsd-questions Tue Oct 1 14:39:54 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 8874A37B401 for ; Tue, 1 Oct 2002 14:39:53 -0700 (PDT) Received: from sccrmhc03.attbi.com (sccrmhc03.attbi.com [204.127.202.63]) by mx1.FreeBSD.org (Postfix) with ESMTP id A186E43E3B for ; Tue, 1 Oct 2002 14:39:52 -0700 (PDT) (envelope-from swear@attbi.com) Received: from localhost.localdomain ([12.242.158.67]) by sccrmhc03.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20021001213952.BZOV22381.sccrmhc03.attbi.com@localhost.localdomain>; Tue, 1 Oct 2002 21:39:52 +0000 Received: from localhost.localdomain (localhost [127.0.0.1]) by localhost.localdomain (8.12.5/8.12.5) with ESMTP id g91LgpMX005967; Tue, 1 Oct 2002 14:42:52 -0700 (PDT) (envelope-from swear@attbi.com) Received: (from jojo@localhost) by localhost.localdomain (8.12.5/8.12.5/Submit) id g91LgjAl005964; Tue, 1 Oct 2002 14:42:45 -0700 (PDT) (envelope-from swear@attbi.com) X-Authentication-Warning: localhost.localdomain: jojo set sender to swear@attbi.com using -f To: goldtech@worldpost.com Cc: freebsd-questions@freebsd.org Subject: Re: unix locate cmd References: From: swear@attbi.com (Gary W. Swearingen) Date: 01 Oct 2002 14:42:45 -0700 In-Reply-To: Message-ID: Lines: 14 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 Lee Gold writes: > I'm trying to use the locate cmd to find all > instances of .xinitrc in my system. I did, > > root# /usr/libexec/locate.unpdatedb > root# setenv $LOCATE_PATH /var/db/locate.database ^-- Don't use "$" there. But that's probably not your problem. Maybe you have a /etc/locate.rc and it's messed up, or maybe one of /usr/libexec/locate.unpdatedb's env. vars. has a bad value. ?? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message