lubuntu 'find'

Matt Graham danceswithcrows at usa.net
Sat Jun 30 15:22:04 MST 2012


> On Sat, Jun 30, 2012 at 2:26 PM, betty <nicepenguin at webcanine.com> wrote:
>> I am using l-ubuntu 12.04 with the pcMan manager and i can't for the life
>> of me find the  way to 'find' a file or something with part of a file name
>> in it. it is driving me crazy. What am i missing???
From: Michael Havens <bmike1 at gmail.com>
>  try apropos part-of-file-name

apropos is equivalent to "man -k" and is only for searching man pages.  I
think that what betty wants is "locate", as in "locate \*some string\*" should
give you a list of files whose names contain the string "some string".  NOTE: 
This only works if your distro runs updatedb every so often.  Most distros are
set up so that updatedb indexes all files once a day at roughly 4am.  Check
/var/lib/slocate/slocate.db ; if that file exists and is reasonably large,
your distro is running updatedb every so often.

There are some GUI-fied interfaces to locate too.  Not sure what they are,
since I'm a command-line sort of person.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see



More information about the PLUG-discuss mailing list