find -type not working on release 5.1?

Joshua Oreman oremanj at get-linux.org
Sat Aug 30 19:53:45 PDT 2003


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
> 
>     -t    invalid 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 <hlen at ig.com.br>
> 
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list