SCIENTIFIC-LINUX-USERS Archives

August 2005

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Michael Mansour <[log in to unmask]>
Reply To:
Michael Mansour <[log in to unmask]>
Date:
Thu, 18 Aug 2005 13:41:52 +1000
Content-Type:
text/plain
Parts/Attachments:
text/plain (31 lines)
Hi,

> Michael Mansour wrote:
> > If you really want to run an updatedb on each boot, I suggest you put it into
> > your /etc/rc.d/rc.local file which gets read as the last rc file after all
> > other services are started.
> > 
> > But I personally wouldn't do that.
> 
> Thank you for this information Michael. Actually it is about my home 
> PC, and it takes some time during boot indeed. However I was doing a 
> manual updatedb before searching for some file, each time I wanted 
> to perform such a search. Is there some other alternative, apart 
> from not using indexing?

Yes, find can be used to find files throughout your disk(s).

Do a "man find" to find out it's options and how you can use it.

Commands like:

# find -name <anyname> /whateverdirectory

or

# find /<whateverdirectory> -print | grep <anyname>

are things I commonly use.

Michael.

ATOM RSS1 RSS2