Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Sep 2005 10:48:05 +0000 (GMT)
From:      Michael Abbott <michael@araneidae.co.uk>
To:        Erik Norgaard <norgaard@locolomo.org>
Cc:        FreeBSD Questions <questions@freebsd.org>
Subject:   Re: removing file '-D'
Message-ID:  <20050906104655.R23773@saturn.araneidae.co.uk>
In-Reply-To: <431D72E5.8060800@locolomo.org>
References:  <431D72E5.8060800@locolomo.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> $ rm -D
> rm: illegal option -- D
> $ rm "-D"
> rm: illegal option -- D
> $ rm '-D'
> rm: illegal option -- D
> $ rm \-D
> rm: illegal option -- D
> $ rm '\-D'
> rm: \-D: No such file or directory
> $ rm "\-D"
> rm: \-D: No such file or directory
>
> any hints?

Try either
 	$ rm ./-D
or
 	$ rm -- -D





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