Linux 删除乱码文件

查看乱码文件:

[root@hankyoon tmp]# ls

 ݉???5???p??????i?Z?§?o9??m??H?N?9*??:???-????$??  ?x?{x?~?  db_count.txt

 

执行 ls -i 查看文件的节点号

[root@hankyoon tmp]# ls -i
1048580 ݉???5???p??????i?Z?§?o9??m??H?N?9*??:???-????$??  1048589 ?x?{x?~?   
1048584 db_count.txt

删除 find -inum 文件节点号 -delete

[root@hankyoon tmp]# find -inum 1048580 -delete
[root@hankyoon tmp]# find -inum 1048589 -delete

 

posted @ 2020-12-03 18:46  __Yoon  阅读(179)  评论(0编辑  收藏  举报