ITPub博客

首页 > Linux操作系统 > Linux操作系统 > [Linux] linux 删除乱码的文件&文件夹

[Linux] linux 删除乱码的文件&文件夹

原创 Linux操作系统 作者:tolilong 时间:2016-10-27 21:06:34 0 删除 编辑

[root@oracle6 tmp]# ll -i
786494 -rw-r--r--. 1 root root 29 Oct 27 19:23 xx
[root@oracle6 tmp]# find . -inum 786494 -exec rm -rf {} \;


[root@oracle6 tmp]# ll -i
786494 drwxr-xr-x. 2 root root 4096 Oct 27 21:18 xxxxxx
[root@oracle6 tmp]# find . -inum 786494 -exec rm -rf {} \;

切换到乱码的文件夹
[root@oracle6 tmp]# cd $(find . -inum 786494)

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/24237320/viewspace-2127243/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2010-07-13

  • 博文量
    406
  • 访问量
    1208669