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

Kezdőlap

Reply to this message
Szerző: Mair
Dátum:  
Címzett: hampshire
Tárgy: 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