linux-command/command/groupdel.md

28 lines
479 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

groupdel
===
用于删除指定的工作组
## 补充说明
**groupdel命令** 用于删除指定的工作组,本命令要修改的系统文件包括/ect/group和/ect/gshadow。若该群组中仍包括某些用户则必须先删除这些用户后方能删除群组。
### 语法
```shell
groupdel(参数)
```
### 参数
组:要删除的工作组名。
### 实例
```shell
groupadd damon //创建damon工作组
groupdel damon //删除这个工作组
```