From owner-freebsd-questions Wed Sep 19 18: 1:51 2001 Delivered-To: freebsd-questions@freebsd.org Received: from IMGate1.cshore.com (imgate1.cshore.com [63.237.136.14]) by hub.freebsd.org (Postfix) with ESMTP id E5D7037B418 for ; Wed, 19 Sep 2001 18:01:47 -0700 (PDT) Received: from sephiroth (dialup-uu-dynamic10.cshore.com [63.112.158.10]) by IMGate1.cshore.com (Postfix) with SMTP id D77512406F; Wed, 19 Sep 2001 21:20:41 -0400 (EDT) Date: Wed, 19 Sep 2001 21:05:27 -0400 From: Matthew Graybosch To: Vinicius Vianna Cc: Questions@FreeBSD.ORG Subject: Re: How to remove a dir named "--help"? Message-Id: <20010919210527.5059cbc5.matthew@starbreaker.net> In-Reply-To: <5.1.0.14.0.20010919203029.09ccd918@mail.wexperts.com.br> References: <5.1.0.14.0.20010919203029.09ccd918@mail.wexperts.com.br> X-Mailer: Sylpheed version 0.5.3 (GTK+ 1.2.9; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 19 Sep 2001 20:34:06 -0300 Vinicius Vianna wrote: > Hi folks. > > Recently as a mistype I created a dir named "--help" as the > follow: > > drwxr-x--- 5 qmailq qmail 512 Sep 19 20:25 --help/ > > So how can I remove this? when i type "rm -rf --help" it exits > quietly, i tried some glob as "*help*" and escape as "\-\-help" > but not worked so far, when i try to "cd" into it says: Vinicius, try typing the following: { rmdir "--help" } However, I don't understand how you could have done this. When I tried typing { mkdir "--help" } all I got was the short help on the mkdir command. ****** Matthew Graybosch [matthew@starbreaker.net] http://www.starbreaker.net :: where dreams and reality collide "Screw Sartre. Hell isn't other people. Hell is debugging other people's code." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message