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


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;


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


Similar Posts: