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

Re: Can't delete a file



The universal answer comes from comp.unix.faq. Try

   rm ./-test

This should work no matter which ls you are using.

Mike Miller wrote:
>
> 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?

// Heikki
-- 
Heikki Vatiainen                  * hessu@cs.tut.fi
Tampere University of Technology  * Tampere, Finland



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