What is the fastest method to search for files in the Linux directory tree?
-
-
Answer:
I use the locate command. Locate just queries a database and prints out the location of the file as it is in the database. The only drawback is that you have to index your files regularly if your directories and files change to keep the database up to date. updatedb -->Indexes files. (you can do this in a cron job if you don't want to do it manually) locate filename -->prints the location of the file filename.
wiki.answers.com Visit the source
Related Q & A:
- What's the fastest dragster speed so far?Best solution by Yahoo! Answers
- What's the fastest most reliable internet connection in Seattle?Best solution by Yahoo! Answers
- What is the fastest sled that I can buy?Best solution by Yahoo! Answers
- What is the cheapest method for shipping a domestic item?Best solution by csmonitor.com
- What is the difference between internal command and external command in Linux?Best solution by answers.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.