linux删除文件夹


 description

在linux中通过一条命令行快速的删除文件夹,我们创建了一个名为test的文件夹,现在通过命令行来删除该文件夹

 command

rm -r test

 parameter

rm :  删除文件
-r, -R, --recursive :    递归删除文件及目录

 result

rm: remove directory 'test'?
Was this helpful?

I hope to help every developer quickly find the commands they need. Of course, you can also add your own commonly used commands for easy searching.