Re: find -type not working on release 5.1?

2003-08-31 Thread Herculano de Lima Einloft Neto
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 <[EMAIL PROTECTED]>

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: find -type not working on release 5.1?

2003-08-31 Thread Joshua Oreman
On Sat, Aug 30, 2003 at 09:26:03PM -0300 or thereabouts, Herculano de Lima Einloft 
Neto wrote:
>  Hello,
> 
> I'm getting something like this:
> 
> ]$ find /etc -type d
> 
> -tinvalid option
> -y   invalid option
> -p   invalid option
> -e   invalid option
> 
>  d   unknown file

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.

> 
>One other thing..
> 
> ]$ 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?

-- Josh

> 
>   Thanks in advance for any help.
> -- 
> Herculano de Lima Einloft Neto <[EMAIL PROTECTED]>
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


find -type not working on release 5.1?

2003-08-31 Thread Herculano de Lima Einloft Neto
 Hello,

I'm getting something like this:

]$ find /etc -type d

-tinvalid option
-y   invalid option
-p   invalid option
-e   invalid option

 d   unknown file

   One other thing..

]$ ls x* 
 
  doesn't seem to work right either.. it's returning all the files..? g*
works though..

  Thanks in advance for any help.
-- 
Herculano de Lima Einloft Neto <[EMAIL PROTECTED]>

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"