[Solved] Linux: file name is garbled and cannot be deleted

Phenomenon:

As shown in the figure, use ls to view the files in the directory. It is found that the file name has garbled codes and strange symbols, which cannot be deleted by RM command;

Solution:

At this time, the file can be deleted through the inode of the file

Operation process:

Use LS – Il to view the file inode

Use the command find- Inum XXXX – delete delete delete file

End

Similar Posts: