Re: [Hampshire] how do I delete a file named -n

Top Page

Reply to this message
Author: Mair
Date:  
To: hampshire
Subject: Re: [Hampshire] how do I delete a file named -n
On Wed, 31 Jan 2007 14:43:59 +0000
Will Davies <wmd04r@???> wrote:

> I have managed to create a file named "-n" without the quotes. Any
> clues on how to delete it from the command line?
> I've tried
> rm -n
> rm "-n"
> rm '-n'
> rm `-n`


rm -- -n