Quote:
Originally Posted by
chxxangie
when i try to ls -lrt the directory, the "undeletable" file is listed.
but when i try to ls -lrt *exe, the "undeletable" file is not listed.
this "undeletable" is the file that i want to delete from the directory.
but when i try to delete/rename/copy.... it, it show that "No such file or directory"...
the root cause i guess is, i accidently compile a binary file, and cause the exe generated cannot be deleted.
please help! thanks in advance...
Give a try on:
1. list the files with ls -i * and get the inode number
2.Delete it with find . -inum=inodenum -exec rm {} \;