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 * [EMAIL PROTECTED] Tampere University of Technology * Tampere, Finland -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .