[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Can't delete a file



> 
> I have a file on my machine that I created that begins with a hyphen.
> How can I delete it. rm -test says can't delete est using option -t (or
> whatever). How do I tell it not to use the hyphen as a switch?
> 
> 

The easiest (and more portable since not all versions of rm
include the "--" option) of doing it is:
	rm ./-test

Richard..

---------------------------------------------------------------------
Richard Dansereau
Email: rdanse@pobox.com          Home page:  http://pobox.com/~rdanse
Electrical and Computer Engineering - University of Manitoba - Canada
---------------------------------------------------------------------


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . Trouble? 
e-mail to templin@bucknell.edu .


Reply to: