Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Sep 2001 21:05:27 -0400
From:      Matthew Graybosch <matthew@starbreaker.net>
To:        Vinicius Vianna <ds@listas.hacked.com.br>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

******
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




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