centos下无法直接删除乱码文件及文件夹解决方案

不知道怎么回事今天在系统上发现有一个名字为“”的文件,使用rm -f 无法删除,最后没办法只能使用文件的inode号进行删除,以下是相关步骤:

[oracle@prod-db ~]$ ls -il
total 32
11883412 -rw-r--r-- 1 oracle dba  254 Jan 31 19:21

[oracle@prod-db ~]$ find ./ -inum 11883412
./

[oracle@prod-db ~]$ find ./ -inum 11883412 -exec rm -i {} ;
rm: remove regular file `./\'? y

原文地址:https://www.cnblogs.com/mengdeep/p/7348610.html