On Thursday 11 July 2002 02:52, Martin Mačok wrote:
>On Wed, Jul 10, 2002 at 02:47:58PM -0700, David Walser wrote:
>> locate is likely only going to be used on desktops, I
>> can't see it getting much use on a dedicated server. 
>
>There are several use on a server too... sometimes I wanna see if
>users are not sharing/uploading mp3's or what, so I do "locate .mp3" or
>"locate .avi" to see ... Or sometimes I just can't remember where
>exactly is stored some include_xyz.php in a webtree, so I do "locate
>include_xyz.php" etc... I really use it on servers and on desktops
>too.

But, if it is not used frequently, is not "find /path -name pattern" a
more efficient use of the machine?  It allows the search to start only
at a likely point, rather than rummaging through the entire filesystem
periodically.  Though I suppose with current hardware capabilities, 
folks worry less about such things than in the days of old.  

-Chuck

-- 
 +-% He's a real  UNIX Man $-+-------------------------------------+
  \  Sitting in his UNIX LAN  \          Charles A. Shirley         \
   \ Making all his UNIX plans \   cashirley (at) comcast (dot) net  \
    +------# For  nobody @------+-------------------------------------+



Reply via email to