From owner-freebsd-questions@FreeBSD.ORG Sun Aug 31 07:44:57 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D66E816A4BF for ; Sun, 31 Aug 2003 07:44:57 -0700 (PDT) Received: from smtp-29.ig.com.br (smtp-29.ig.com.br [200.226.132.157]) by mx1.FreeBSD.org (Postfix) with SMTP id 11A1543FBD for ; Sun, 31 Aug 2003 07:44:56 -0700 (PDT) (envelope-from hlen@ig.com.br) Received: (qmail 6943 invoked from network); 31 Aug 2003 14:44:59 -0000 Received: from unknown (HELO RJ141081235.user.veloxzone.com.br) (200.141.81.235) by smtp-29.ig.com.br with SMTP; 31 Aug 2003 14:44:59 -0000 From: Herculano de Lima Einloft Neto To: freebsd-questions@freebsd.org Content-Type: text/plain Message-Id: <1062341093.1280.22.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4 (1.4.4-3) Date: Sun, 31 Aug 2003 11:44:53 -0300 Content-Transfer-Encoding: 7bit cc: hlen@ig.com.br Subject: Re: find -type not working on release 5.1? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Aug 2003 14:44:58 -0000 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