From owner-freebsd-questions Wed Sep 19 18:58:24 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smtprelay3.abs.adelphia.net (smtprelay.abs.adelphia.net [64.8.20.11]) by hub.freebsd.org (Postfix) with ESMTP id 0361937B408 for ; Wed, 19 Sep 2001 18:58:21 -0700 (PDT) Received: from there ([63.124.244.3]) by smtprelay3.abs.adelphia.net (Netscape Messaging Server 4.15) with SMTP id GJXUT501.8OL; Wed, 19 Sep 2001 21:58:17 -0400 Content-Type: text/plain; charset="iso-8859-1" From: Gerald A.Speak Reply-To: gaspeak@va.prestige.net To: Matthew Graybosch , Vinicius Vianna Subject: Re: How to remove a dir named "--help"? Date: Wed, 19 Sep 2001 21:58:19 -0400 X-Mailer: KMail [version 1.3] Cc: Questions@FreeBSD.ORG References: <5.1.0.14.0.20010919203029.09ccd918@mail.wexperts.com.br> <20010919210527.5059cbc5.matthew@starbreaker.net> In-Reply-To: <20010919210527.5059cbc5.matthew@starbreaker.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20010920015821.0361937B408@hub.freebsd.org> 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 Wednesday 19 September 2001 09:05 pm, Matthew Graybosch wrote: > 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. Try rmdir - --help > > ****** > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message