[Cialug] Help finding file?

Don Ellis don.ellis at gmail.com
Mon Jan 2 15:55:38 CST 2012


And, with 'locate', you have to have rebuilt the locate database.
Sometimes that is set to happen on a schedule with cron. Need to check
though. I think if you try to run locate without a database, it will
give instructions on how to build it. Don't know what it will do if
there's a database, but it is stale.

--Don Ellis


On Mon, Jan 2, 2012 at 3:50 PM, Todd Walton <tdwalton at gmail.com> wrote:
> On Mon, Jan 2, 2012 at 3:37 PM, Tom Sellers <tomsellers2001 at yahoo.com> wrote:
>> What is the Ubuntu linux command to locate a file anywhere on the disk?  I
>> need to have it search the whole directory structure not just the current
>> directory for the file.
>
> 'slocate' (or just 'locate').  You'll have to be root to literally
> search the entire filesystem.
>
> --
> Todd
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug


More information about the Cialug mailing list