Remove Files with Inode

I hope you still remember the “rm” command and “find” command which you have learned in your RHCE Training or RHCSA Training.

Now its the time to implement it in a more complex manner.

There can be a moment when you are trying to remove a file with some special character in the filename. Chances are that, normal “rm” command might not work.

In this situation you can use the help of “inode” and “find” command to find that file and remove it.

Here is a illustrated example from my machine.

Remove files using inode number

Remove files using inode number