LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Linux Virgin

[ILUG] Linux Virgin

Noel Carroll Noel.Carroll at CardBase.com
Tue May 16 11:57:12 IST 2000


C Hennessy wrote...
> looking for a file ? 
> 	try "locate <string>"  where string is all or a part of 
> the file name

As somebody who can still remember the complete newbie days... it should be
said that after a bit you'll see an error message like 'databse is more than
8 days old' when you try to use locate.   To correct this you type
'updatedb'.   This updates the file databse.  Your linux box runs some
scheduled tasks (usually late at night) and if you have your machine left on
- on RH anyway - updatedb should be one of these tasks so you never have to
do it manually.   Also, as a regular user you probably won't have permission
to use updatedb so type 'su root' and enter your root password at the next
line.  type updatedb and then type 'su -'.   I know this is probably
pedantic and I'm sure somebody out there will find something to correct me
on (I'm humble!!)   Thing is, I've read many articles on linux basics and
they mention this locate but don't give the full picture.





More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell