[CentOS] how to delete file "--filename"??
Kwan Lowe
kwan.lowe at gmail.comTue Dec 15 16:17:18 UTC 2009
- Previous message: [CentOS] how to delete file "--filename"??
- Next message: [CentOS] SOLVED: Re: OT: GNOME Panel Menu - Notification Area 2.16.1- operator error
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
2009/12/15 mcclnx mcc <mcclnx at 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 -i * > > rm --filename > > rm \--filename > > rm "\--filename" > > rm '\--filename' > > any ideal? Many ways to do it.. The method I prefer: List your files by inum: ls -i Find the inum associated with the file you want to delete. Then: find /path/to/containing/dir -inum 12345 -exec rm {} \;
- Previous message: [CentOS] how to delete file "--filename"??
- Next message: [CentOS] SOLVED: Re: OT: GNOME Panel Menu - Notification Area 2.16.1- operator error
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list