Jordan Metzmeier wrote: > On 06/10/2010 04:58 PM, Merciadri Luca wrote: > > Hi, > > > I find `find' very inefficient when trying to find some files. I prefer > > using `ls -alR | grep stuff' The problem is that the related output does > > not give me the directory where `stuff' is found. How can I add some row > > giving this? Thanks. > > > Have you tried using locate? locate builds a database of files (using > updatedb) so searching is faster. > > IMO find is best used when you want to perform some action on the files > found. > `locate' is really, really, really, really faster. I had no knowledge about it. Thanks a lot.
-- Merciadri Luca See http://www.student.montefiore.ulg.ac.be/~merciadri/ I use PGP. If there is an incompatibility problem with your mail client, please contact me. Little things affect little minds. (Benjamin Disraeli)
signature.asc
Description: OpenPGP digital signature