2009/12/15 mcclnx mcc <[email protected]>:
> 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 {} \;
_______________________________________________
CentOS mailing list
[email protected]
http://lists.centos.org/mailman/listinfo/centos

Reply via email to