SCIENTIFIC-LINUX-USERS Archives

August 2005

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

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

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

Print Reply
Sender:
Mailling list for Scientific Linux users worldwide <[log in to unmask]>
Date:
Thu, 18 Aug 2005 13:41:52 +1000
MIME-version:
1.0
Reply-To:
Michael Mansour <[log in to unmask]>
Content-type:
text/plain; charset=iso-8859-1
Subject:
From:
Michael Mansour <[log in to unmask]>
In-Reply-To:
Comments:
To: Ioannis Vranos <[log in to unmask]>, Scientific Linux Users mailing list <[log in to unmask]>
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