Date: Tue, 1 Oct 2002 03:24:13 -0700 From: Adam Weinberger <adam@vectors.cx> To: Lee Gold <goldtech@worldpost.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: unix locate cmd Message-ID: <20021001102412.GJ77771@vectors.cx> In-Reply-To: <E17wK6C-0007P5-00@smtp03.mrf.mail.rcn.net> References: <E17wK6C-0007P5-00@smtp03.mrf.mail.rcn.net>
next in thread | previous in thread | raw e-mail | index | archive | help
>> (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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021001102412.GJ77771>