Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Aug 2003 11:44:53 -0300
From:      Herculano de Lima Einloft Neto <hlen@ig.com.br>
To:        freebsd-questions@freebsd.org
Cc:        hlen@ig.com.br
Subject:   Re: find -type not working on release 5.1?
Message-ID:  <1062341093.1280.22.camel@localhost.localdomain>

next in thread | raw e-mail | index | archive | help
Joshua Oreman wrote: 
> Make sure you really are typing "find /etc -type d", with the -type after
> the /etc. Something like this: "find -type d /etc", would return those
> errors.
> 

 I think I was actually using "find -type d" alone, which works on
redhat.. Got to use 
"find . -type d" here.

> >]$ ls x* 
> >
> >  doesn't seem to work right either.. it's >returning all the
> files..? g*
> >works though..
> > 
> I don't know what you mean by "works"/"doesn't work". Could you
> elaborate a little here?

   Well, I'm used to redhat bash, and even though this is bash, on
redhat "ls x* -d"  is good syntax; on freebsd it isn't. So that was it..
got what I wanted with "ls -d x*". :)

Thanks
-- 
Herculano de Lima Einloft Neto <hlen@ig.com.br>



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