On Thu, 27 Jan 2011, Always Learning wrote:

> Thanks for the explanation. Now I know why locate never usually worked
> for me - it hadn't updated.
>
> find is fast, especially when I restrict the search paths.

But locate is faster still, in all but the smallest of cases.  I'd only tend
to use find if I had reason to think that changes had made the locate database
invalid.  locate with a regexp is plain good and fast.

jh
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to