![]() | ![]() | ![]() | ![]() |
|
faq search add article cool-stuff how-to main tips |
Posted by Jason on Monday April 09, @07:12PMfrom the Hide-and-Seek dept. FreeBSD comes with a locate database that stores the location of all the files on your system. If you want to find a file very quickly, use the locate command. Login and type: locate some_filename Note: The locate database is not built by default when you install a system. You will need to build the database before you can use it. Also, the database needs to be refreshed periodically. If you have a system that runs 24/7, the locate database is automatically rebuilt once a week. Otherwise, here is how to do it manually. Login as root login: root password: ******** # /usr/libexec/locate.updatedb Your locate database is now being rebuilt: (be patient, this will take a couple of minutes) When the system finishes, your locate database will be up to date and ready to search. < | >
|
|
||||||||||||||||||
|
||||||||||||||||||||
| "You never know how many friends you have until you own a Condo on the beach." -- Jason's Postulate |
|
| All trademarks and copyrights on this page are owned by their respective companies. Comments are owned by the Poster. The Rest ©2001 Jason Neumann. |