[wplug] removing problem file

Jonathan S Billings billings at negate.org
Wed Jul 21 13:05:13 EDT 2004


Jonathan S Billings wrote:
> beer wrote:
> 
>> So i was typing in a command and screwed up the syntax which caused an 
>> error and the creation of a file name '-a'.  Of course if I attempt to 
>> remove the file rm complains that --a is an unknown option. :)  Anyone 
>> have a suggestion for removing this?
> 
> 
> rm -- -a
> 
> the -- means "no more arguments after this".

By the way, this is a standard convention in unix commands, so it will 
work with many other commands.


-- 
Jonathan S. Billings <billings at negate.org>



More information about the wplug mailing list