From owner-freebsd-questions Sun Jun 2 18:51: 6 2002 Delivered-To: freebsd-questions@freebsd.org Received: from smtp2.san.rr.com (smtp2.san.rr.com [24.25.195.39]) by hub.freebsd.org (Postfix) with ESMTP id 235EA37B405 for ; Sun, 2 Jun 2002 18:51:05 -0700 (PDT) Received: from 24-161-160-142.san.rr.com (24-161-160-142.san.rr.com [24.161.160.142]) by smtp2.san.rr.com (8.11.4/8.11.4) with ESMTP id g531otL06614 for ; Sun, 2 Jun 2002 18:51:00 -0700 (PDT) Date: Sun, 2 Jun 2002 18:50:54 -0700 (PDT) From: Peter Leftwich X-X-Sender: root@66-75-1-142.san.rr.com To: FreeBSD Questions LIST Subject: find vs. `ls -alR | grep -i keyword` Message-ID: <20020602184633.R787-100000@66-75-1-142.san.rr.com> Organization: Video2Video Services - http://Www.Video2Video.Com MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Does the "find" command run (usefully) faster than `ls -alR | grep -i keyword` folks? Invariably, I surprise myself when a conglomeration such as `find /cdrw -name "*deep\ water*" -print` actually prints useful information (i.e. a hit)! Thoughts of "do I put a slash after cdrw" and "do I really need the asterices or the backslash forcing the space" often confuse this sysadmin for one. :) -- Peter Leftwich President & Founder Video2Video Services Box 13692, La Jolla, CA, 92039 USA +1-413-403-9555 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message