When uploading files to the server, you may encounter some unexpected situations, such as: network interruption, which will generate garbled files in the server, as shown in the figure below: You will find that you can
use rm -rf file name and cannot delete it. Although it does not affect the continued use, it gives people a very uncomfortable feeling.
Let me introduce a simple method for you:
1. Use ls -i to view the ID number of this file;
2. Find -inum to delete the file ID number-delete
operation The above two steps can delete the garbled file.
If you have other methods, you can leave a message in the comment area, and everyone can learn from each other.