Home  >  Article  >  Operation and Maintenance  >  How to delete garbled files in linux

How to delete garbled files in linux

王林
王林Original
2020-01-10 16:45:382900browse

How to delete garbled files in linux

1. Use the following command to list the file nodes

ls -i //列出文件节点

(Free video tutorial sharing: linux video tutorial)

2. Use the find command to pass the file name to the rm command, and then delete the node number file. The command is as follows:

find ./ -inum XXX(节点号) -print -exec rm -rf {} \;    //删除节点号文件

Recommended related article tutorials: linux tutorial

The above is the detailed content of How to delete garbled files in linux. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn