Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   CentOS (http://www.linux-archive.org/centos/)
-   -   how to delete file "--filename"?? (http://www.linux-archive.org/centos/295606-how-delete-file-filename.html)

mcclnx mcc 12-15-2009 12:47 PM

how to delete file "--filename"??
 
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?


__________________________________________________ _
您的生活即時通 - 溝通、娛樂、生活、工作一次搞定!
http://messenger.yahoo.com.tw/
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Eero Volotinen 12-15-2009 12:49 PM

how to delete file "--filename"??
 
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
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Marcelo Roccasalva 12-15-2009 12:49 PM

how to delete file "--filename"??
 
2009/12/15 mcclnx mcc <mcclnx@yahoo.com.tw>:
> i have file on CENTOS 4.6 and I tried to delete it failed. *I have been tried following way but NOT work:

rm -- --filename


--
Marcelo

"No ser acaso que sta vida moderna est teniendo ms de moderna que
de vida?" (Mafalda)
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


All times are GMT. The time now is 05:05 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.