Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jun 2004 01:24:50 -0400
From:      epilogue@allstream.net
To:        Sergey Zaharchenko <doublef@tele-kom.ru>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: two questions
Message-ID:  <20040625012450.1610c7a4@localhost>
In-Reply-To: <20040625045946.GA40925@shark.localdomain>
References:  <1793.192.168.1.1.1088132789.squirrel@192.168.1.1> <50be591b04062420296611a8d5@mail.gmail.com> <20040624235109.75b3399b@localhost> <20040625045946.GA40925@shark.localdomain>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 25 Jun 2004 08:59:46 +0400
Sergey Zaharchenko <doublef@tele-kom.ru> wrote:

> On Thu, Jun 24, 2004 at 11:51:09PM -0400,
>  epilogue@allstream.net probably wrote:
> > On Thu, 24 Jun 2004 20:29:35 -0700
> > Hemal Pandya <hemalpandya@gmail.com> wrote:
> > 
> > > On Thu, 24 Jun 2004 23:06:29 -0400 (EDT), Michael Sharp
> > > <ms.probsd@org> wrote:
> > > > 
> > > > I'm having a brain freeze tonight and apparently forgot some
> > > > basic UNIX commands..
> > > > 
> > > > what is the command to remove the file "--directory"
> > > > 
> > > > rm *directory* = nope
> > > > rm "*directory*" = nope
> > > > rm \-\-\directory = nope
> > > > rm -i * = nope and dosent even see the file
> > > rm ./-directory
> > 
> > funny, though i tried these on a test directory...
> > 
> > rm ./-test
> > rm -- --test
> > 
> 
> You're missing the -r:
> 
> $ rm -r -- --test

actually, *i* suggested using -r.  what i don't get is the dashes.  it
works just fine without. ...at least for me. please see my last message.

> 
> should work.
> 
> -- 
> DoubleF
> The generation of random numbers is too important to be left to
> chance.
> 



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