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

Top Page

Reply to this message
Author: Gordon Scott
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] how do I delete a file named -n
On Wed, 31 Jan 2007, Chris Liddell wrote:
> If there aren't other files it would impact, you could try:
>
> rm ?n


you can of course do:
rm -i ?n
which is interactive and asks you to confirm deletion.
That also helps avoid deleting other files accidently.

G.
-- 
Gordon Scott                  http://www.gscott.co.uk


        Linux ... Because I like to *get* there today.