  Viggen93 Premium,VIP join:2002-04-16 Hamilton, ON
·Cogeco Cable
| reply to dom6791 Re: Little Known Tips and Tricks...
Finding files in the filesystem, you could use the "find" command but that is often slow. Try using "locate filename" instead, as it is much quicker as it searches a database of the filesystem. There are limitations to locate, such as the database will only have a snapshot of the filesystem as of the last time "slocate.cron" was ran, something that is (well atleast on my system) run at midnight every day, therefore, if the file was created after the last cron job for "slocate.cron" (slocate.cron is just a script that is located in etc/cron.daily on my RH8 System) locate won't pick it up. I find it useful for finding obscure configuration files. -- Isn't air travel wonderful? Breakfast in London, dinner in New York,luggage in Brazil. |