Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Nov 1998 11:18:38 -0800
From:      Ludwig Pummer <ludwigp@bigfoot.com>
To:        Rainer M Duffner <Rainer.Duffner@konstanz.netsurf.de>, Paul <paulturner@home.com>
Cc:        freebsd-newbies@FreeBSD.ORG
Subject:   Re: Find and an editor
Message-ID:  <199811221930.LAA04821@hub.freebsd.org>
In-Reply-To: <Marcel-1.46-1121164303-313Zsav@duffner.konstanz.netsurf.de >
References:  <006801be1457$5732f460$0a00000a@pdc.frmt1.sfba.home.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811221930.LAA04821>