■ Requirement : How to delete file using inode number
■ OS Environment : Linux[RHEL, Centos]
■ Application: find, inode
■ Implementation Steps :
■ OS Environment : Linux[RHEL, Centos]
■ Application: find, inode
■ Implementation Steps :
To view the inode number :
$ ls -il
Assume indoe is 782263 :
Delete file which has inode 782263 :
$ find . -inum 782263 -exec rm -f {} \;$ ls -il
Assume indoe is 782263 :
Delete file which has inode 782263 :
No comments:
Post a Comment