[HOW TO] remove the special character in linux?

Do you need to remove the special character in linux?

A quick tip will be help you.

Firstly, you use "ls -il" to show the inode information of file/ folder

[~]# ls -il
total 17900
1048619 -rw-r--r--  1 root root     297 Jul 23 15:15 \

To be continued, you use find command to delete them by inode
[~]#find . -inum  1048619 -exec rm -rf {} \;

It will find and remove them without prompt.

Thank you for reading this article, please a comment if you are interested.

Tiến Phan - R0039

Knowledge is Endless

Sharing for Success

0 nhận xét:

Post a Comment