[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-newbies
Subject: Re: Find and an editor
From: Ludwig Pummer <ludwigp () bigfoot ! com>
Date: 1998-11-22 19:18:38
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic