Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 06-11-2003, 05:13 PM   #1
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.

Old 06-11-2003, 11:09 PM   #2
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*


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 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 > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:45 AM.

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