bash 如何使用linux命令行删除文件夹

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/37948714/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-18 14:48:25  来源:igfitidea点击:

how to delete a folder using linux command line

bash

提问by Pepper

I am using Angular V2.

我正在使用 Angular V2。

I setup a project using:

我使用以下方法设置了一个项目:

ng new PROJECT_NAME
cd PROJECT_NAME
ng serve

How do I delete the whole Angular project I setup via the command line (am on ubuntu).

如何删除我通过命令行设置的整个 Angular 项目(在 ubuntu 上)。

Thanks

谢谢

回答by Martin

This is more of a bash than an angular question.

这与其说是一个尖锐的问题,不如说是一种抨击。

cd ..
rm -fr PROJECT_NAME