Find the answer to your Linux question:
Results 1 to 4 of 4
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    refresh 'locate' database

    I searched for this, but couldn't find anything about it.

    What is the command to 'rescan', or 'refresh' the 'locate' command, so it looks for recently added files, and doens't use the old cache?

  2. #2
    Im not sure if this is what you want, but...

    'updatedb&' updates the slocate database in the background

    this is for slocate, though.. so im not sure how much it will help.

  3. #3
    I am actually using freebsd, but I figured it out


    updated it.

  4. $spacer_open
  5. #4
    Just Joined!
    Join Date
    Jul 2004
    rathergoodman was correct the command to use is:


    you have to be root to do it.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts