mirror of
https://github.com/Estom/notes.git
synced 2026-04-26 03:20:55 +08:00
linux 命令和教程补充
This commit is contained in:
27
Linux/command/groupdel.md
Normal file
27
Linux/command/groupdel.md
Normal file
@@ -0,0 +1,27 @@
|
||||
groupdel
|
||||
===
|
||||
|
||||
用于删除指定的工作组
|
||||
|
||||
## 补充说明
|
||||
|
||||
**groupdel命令** 用于删除指定的工作组,本命令要修改的系统文件包括/ect/group和/ect/gshadow。若该群组中仍包括某些用户,则必须先删除这些用户后,方能删除群组。
|
||||
|
||||
### 语法
|
||||
|
||||
```shell
|
||||
groupdel(参数)
|
||||
```
|
||||
|
||||
### 参数
|
||||
|
||||
组:要删除的工作组名。
|
||||
|
||||
### 实例
|
||||
|
||||
```shell
|
||||
groupadd damon //创建damon工作组
|
||||
groupdel damon //删除这个工作组
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user