[CentOS] how to delete file "--filename"??

Eero Volotinen eero.volotinen at iki.fi
Tue Dec 15 13:49:19 UTC 2009


On 12/15/09 3:47 PM, mcclnx mcc wrote:
> i have file on CENTOS 4.6 and I tried to delete it failed.  I have been tried following way but NOT work:
> 
> rm -i *
> 
> rm --filename
> 
> rm \--filename
> 
> rm "\--filename"
> 
> rm '\--filename'
> 
> any ideal?

try rm -- --filename

--
Eero



More information about the CentOS mailing list