LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-11-2003, 05:13 PM   #1
mikeshn
Member
 
Registered: Feb 2002
Posts: 586

Rep: Reputation: 30
Updatedb & time Option


I read the man pages for "updatedb" command. And cannot find the time option. In other word, I want to check when the last time the database for locate was updated.

Thanks.
 
Old 06-11-2003, 11:09 PM   #2
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
As far as I know, if you don't know where it is, just 'locate locatedb' if it's called that on your system. Then ls -al the file. It's timestamp should show when it was updated.

And, depending on the setup, it'll warn you if you use the command and the db's more than a week old, so it's not usually anything to worry about. And it often is scheduled as a cron job to be updated every night.

Could be wrong about all this, but I think that's it. *g*
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Why Do I need to run updatedb each time I search for a file or folder? lennysokol Linux - Software 4 05-30-2005 10:49 PM
What's the difference between 'updatedb' and 'updatedb&' ?? DreameR-X Linux - Newbie 4 12-18-2004 04:36 PM
updatedb every time? akudewan Linux - Newbie 3 06-08-2004 11:35 AM
new boot option after up2date first time strimp099 Red Hat 2 03-17-2004 08:58 PM
UT & updatedb CaptainInsane Linux - General 1 02-10-2004 08:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:54 AM.

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
Open Source Consulting | Domain Registration