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

How to delete garbled files in linux

王林
Release: 2020-01-10 16:45:38
Original
3074 people have browsed it

How to delete garbled files in linux

1. Use the following command to list the file nodes

ls -i //列出文件节点
Copy after login

(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 {} \;    //删除节点号文件
Copy after login

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!

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template