Re: how to locate files on my computer
Neal Hogan wrote:
Personally, I prefer locate - usually takes less time, at the expense of
having to run the indexing job regularly.
On Thu, Sep 2, 2010 at 8:00 PM, tom<firstname.lastname@example.org> wrote:
On Thu, 2010-09-02 at 19:44 -0500, Neal Hogan wrote:
On Thu, Sep 2, 2010 at 7:39 PM, tom<email@example.com> wrote:
I thought using the command: $ locate<named files> would work, but
nothing happens, even if I su to root. Any help appreciated.
That command doesn't appear to search my file system and report all
files containing the word. Maybe there's a way to put the utility
locate on lenny?
man find! Did you look at the manpage . . . the man page for 'find'?
Re. the original question:
apt-get install locate
does the job just find, and (I think) sets up a cron job to run updatedb
locate will NOT find a file that's been created between database runs,
and will find files that have been deleted between database runs
In theory, there is no difference between theory and practice.
In<fnord> practice, there is. .... Yogi Berra