LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-18-2004, 10:10 PM   #1
chem1
Member
 
Registered: Jun 2002
Location: White House, Washignton DC
Distribution: Red Hat 9
Posts: 270

Rep: Reputation: 30
How to update the 'locate' command


Hi Guys (have stopped saying hi to ladies coz I think there is none on this forum )

Whenever I run locate on my machine it complains that the database is more than 8 days old. I read the manual for locate but could not find a way to update it.

Any ideas

Thankx in advance...
 
Old 03-18-2004, 10:19 PM   #2
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
There's a few.

'updatedb' as root.

-- Or 'slocate -u' now that I look at the man pages again. Admittedly, it does say 'create' the database, but there ya go.

Last edited by slakmagik; 03-18-2004 at 10:22 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to configure updatedb to update locate database manually septanla Linux - General 4 12-22-2010 03:05 PM
Locate command matt1982 Linux - General 3 01-09-2005 12:22 AM
How to use locate command MartinOG Linux - Newbie 3 06-07-2004 02:59 PM
What command will locate a particular.. cbjhawks Linux - General 1 03-21-2004 09:07 AM
Locate update gruger Linux - Software 1 07-06-2003 06:27 PM


All times are GMT -5. The time now is 12:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration