Re: how to delete file "--filename"??

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



At Tue, 15 Dec 2009 21:47:45 +0800 (CST) CentOS mailing list <centos@xxxxxxxxxx> 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?

On *any* UNIX system (this *always* works):

rm ./--filename

Using GNU File Tools (this should work under CentOS):

rm -- --filename

> 
> 
> ___________________________________________________ 
>  ±zªº¥Í¬¡§Y®É³q ¡Ð ·¾³q¡B®T¼Ö¡B¥Í¬¡¡B¤u§@¤@¦¸·d©w¡I 
>  http://messenger.yahoo.com.tw/
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
> 
>                                                                

-- 
Robert Heller             -- 978-544-6933
Deepwoods Software        -- Download the Model Railroad System
http://www.deepsoft.com/  -- Binaries for Linux and MS-Windows
heller@xxxxxxxxxxxx       -- http://www.deepsoft.com/ModelRailroadSystem/
                                                                                                         
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux