two questions

epilogue at allstream.net epilogue at allstream.net
Thu Jun 24 22:53:37 PDT 2004


On Fri, 25 Jun 2004 08:59:46 +0400
Sergey Zaharchenko <doublef at tele-kom.ru> wrote:

> On Thu, Jun 24, 2004 at 11:51:09PM -0400,
>  epilogue at allstream.net probably wrote:
> > On Thu, 24 Jun 2004 20:29:35 -0700
> > Hemal Pandya <hemalpandya at gmail.com> wrote:
> > 
> > > On Thu, 24 Jun 2004 23:06:29 -0400 (EDT), Michael Sharp
> > > <ms.probsd at 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.
> 


More information about the freebsd-questions mailing list