From owner-freebsd-newbies Sun Nov 22 11:30:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA04835 for freebsd-newbies-outgoing; Sun, 22 Nov 1998 11:30:13 -0800 (PST) (envelope-from owner-freebsd-newbies@FreeBSD.ORG) Received: from inet.chipweb.ml.org (c1003518-a.plstn1.sfba.home.com [24.1.82.47]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id LAA04821 for ; Sun, 22 Nov 1998 11:30:10 -0800 (PST) (envelope-from ludwigp@bigfoot.com) Message-Id: <199811221930.LAA04821@hub.freebsd.org> Received: (qmail 10573 invoked from network); 22 Nov 1998 19:29:38 -0000 Received: from speedy.chipweb.ml.org (172.16.1.1) by inet.chipweb.ml.org with SMTP; 22 Nov 1998 19:29:38 -0000 X-Sender: ludwigp2@mail-r X-Mailer: QUALCOMM Windows Eudora Pro Version 4.0.2 Date: Sun, 22 Nov 1998 11:18:38 -0800 To: Rainer M Duffner , Paul From: Ludwig Pummer Subject: Re: Find and an editor Cc: freebsd-newbies@FreeBSD.ORG In-Reply-To: References: <006801be1457$5732f460$0a00000a@pdc.frmt1.sfba.home.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org At 05:43 PM 11/21/98 +0100, Rainer M Duffner wrote: >On Fri 20 Nov, Paul wrote: >man find >will produce lots of text, which you'll only need at some point in the >future. >Basically, it goes like this: >find / -name file_name -print >will search the complete tree. This will take some time, depending on >the amount of source you have laing around, it will take some minutes >even with a fast SCSI-disk. > >find . -name file_name -print >will search from the current directory downward. > >find /usr/local -name file_name -print >will search /usr/local only. > >You can play with the size/age things later. and if your system has run the /etc/weekly script (normally every Saturday morning at 3:30am), then any files on your filesystem(s) will be listed in the locate database, so you can just do locate file_name and it's much faster than find. --Ludwig Pummer ( ludwigp@bigfoot.com ) ICQ UIN: 692441 ( ludwigp@email.com ) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message