Re: find -type not working on release 5.1?

From: Herculano de Lima Einloft Neto (hlen_at_ig.com.br)
Date: 08/31/03

  • Next message: Adam McLaurin: "Re: Compiling ports"
    To: freebsd-questions@freebsd.org
    Date: Sun, 31 Aug 2003 11:44:53 -0300
    
    

    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>
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
    

  • Next message: Adam McLaurin: "Re: Compiling ports"