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

Top Page

Reply to this message
Author: Alex
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] how do I delete a file named -n
>
> 'rm' is one of the many commands which, as soon as it sees something on
> the command line that isn't an option, assumes that the rest of the line
> contains file names. This will complain about not finding nosuch_file
> (assuming that it doesn't exist!), but it will still go on to delete the
> '-n' file.



Interesting! In the usual *NIX fasion, TMTOWTDI!


--
Alex Collins