不知道怎么回事今天在系统上发现有一个名字为“\”的文件,使用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

相关文章:

  • 2021-09-17
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-10
  • 2021-10-19
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-01-17
  • 2022-12-23
  • 2022-12-23
  • 2021-12-10
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案