From: "Byron C. Servies" <bservies@xxxxxxxxxx>
Reply-To: cobalt-developers@xxxxxxxxxxxxxxx
To: cobalt-developers@xxxxxxxxxxxxxxx
Subject: Re: [cobalt-developers] Re:find command
Date: Thu, 5 Oct 2000 08:26:06 -0700
If you want to find a particular file, you must use:
find [starting directory] -name [filename]
for example, to find the location of motd, use:
find /etc -name motd
which will return just '/etc/motd' (and probably some permission denied
warnings
for directories under /etc it cannot cd into). With find, you can also
locate
files of a particular type, owned by a particular group or user, etc.
Basically
any attribute that can be applied to a file can be used as a search
criteria for
find.
find is weird, but it can be really powerful if you learn to use it well.
Chapter 17 of O'Reilly's excellent geek coffee table book 'UNIX Power
Tools' is
entirely devoted to using this comman, if you're looking for a description
other
than the man page.
Byron
On 10/5/00 at 2:28 PM, perl_rocks@xxxxxxxxxxx (sara starre) wrote:
> Find is a weird command - doesnt work very well, and normally you have
to
> grep the result like
>
> find . somefile | grep somefile
>
> -PG
>
>
> >From: Matthew Bull <matt@xxxxxxxxxxxxx>
> >Reply-To: cobalt-developers@xxxxxxxxxxxxxxx
> >To: cobalt-developers@xxxxxxxxxxxxxxx
> >Subject: [cobalt-developers] Re:find command
> >Date: Thu, 05 Oct 2000 11:30:31 +0100
> >
> >Umm from memory --> find [path] [filename]
> >
> >do man find for all the switches and stuff
> >
> >Matt
> >>
> >>Message: 12
> >>Date: Tue, 03 Oct 2000 21:19:19 -0500
> >>To: cobalt-developers@xxxxxxxxxxxxxxx
> >>From: Joseph Bannon <joseph@xxxxxxxxxxxxxxxxxxxxx>
> >>Subject: Re: [cobalt-developers] How do I set up MySQL to autostart
> >>Reply-To: cobalt-developers@xxxxxxxxxxxxxxx
> >>
> >>At 02:00 AM 10/4/00 +0000, you wrote:
> >> >Where is that on the Cobalt RQA3 server?
> >>
> >>
> >>There is a unix command called "locate" that will find files for you.
> >>
> >>locate [filename]
> >>
> >>
> >>-Joseph
> >>
> >>
> >>Board Power - Free bulletin board software
> >>http://www.thewebmasterguide.com/software/
> >>
> >
> >_______________________________________________
> >cobalt-developers mailing list
> >cobalt-developers@xxxxxxxxxxxxxxx
> >http://list.cobalt.com/mailman/listinfo/cobalt-developers
>
>
_________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at
http://www.hotmail.com.
>
> Share information about yourself, create your own public profile at
> http://profiles.msn.com.
>
> _______________________________________________
> cobalt-developers mailing list
> cobalt-developers@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-developers
>
_______________________________________________
cobalt-developers mailing list
cobalt-developers@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-developers