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

Page principale

Répondre à ce message
Auteur: Gordon Scott
Date:  
À: Hampshire LUG Discussion List
Sujet: 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.