Linux报错:rm: cannot remove 'xxx': Is a directory

rm: cannot remove 'xxx': Is a directory表示这个文件是无法remove移除的,因此我们不能仅使用rm来将这个文件夹进行删除,需要使用:

rm -rf

命令则可以将文件删除,删除之后利用命令:ls查看当前文件当中的目录检查是否已经被删除。

posted @ 2020-02-26 19:30  Geeksongs  阅读(9100)  评论(0编辑  收藏  举报

Coded by Geeksongs on Linux

All rights reserved, no one is allowed to pirate or use the document for other purposes.