Date: Tue, 1 Oct 2002 13:00:09 -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: <20021001200009.GK77771@vectors.cx> In-Reply-To: <000601c2693b$eb586160$ede03ad0@ljgms2k> References: <E17wK6C-0007P5-00@smtp03.mrf.mail.rcn.net> <20021001102412.GJ77771@vectors.cx> <000601c2693b$eb586160$ede03ad0@ljgms2k>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021001200009.GK77771>
