Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Sep 2001 21:58:19 -0400
From:      Gerald A.Speak <gaspeak@va.prestige.net>
To:        Matthew Graybosch <matthew@starbreaker.net>, Vinicius Vianna <ds@listas.hacked.com.br>
Cc:        Questions@FreeBSD.ORG
Subject:   Re: How to remove a dir named "--help"?
Message-ID:  <20010920015821.0361937B408@hub.freebsd.org>
In-Reply-To: <20010919210527.5059cbc5.matthew@starbreaker.net>
References:  <5.1.0.14.0.20010919203029.09ccd918@mail.wexperts.com.br> <20010919210527.5059cbc5.matthew@starbreaker.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 19 September 2001 09:05 pm, Matthew Graybosch wrote:
> On Wed, 19 Sep 2001 20:34:06 -0300
>
> Vinicius Vianna <ds@listas.hacked.com.br> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010920015821.0361937B408>