Delete a stubborn Linux file

Delete the file by it’s inode. 12345 is the inode number returned in the ls command.

$ su -
Password: xxxxxxx
# ls -il
# find . -inum 12345 -exec rm -i {} \;
Tagged with: , ,

Leave a Reply