At Tue, 15 Dec 2009 21:47:45 +0800 (CST) CentOS mailing list <centos at centos.org> 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 at centos.org > 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 at deepsoft.com -- http://www.deepsoft.com/ModelRailroadSystem/