mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-12-26 18:32:41 +03:00
groupadd, groupmod, groupdel: add page (#1194)
This commit is contained in:
parent
d501320e35
commit
4b464d6a9c
11
pages/linux/groupadd.md
Normal file
11
pages/linux/groupadd.md
Normal file
@ -0,0 +1,11 @@
|
||||
# groupadd
|
||||
|
||||
> Add user groups to the system.
|
||||
|
||||
- Create a new Linux group:
|
||||
|
||||
`groupadd {{group_name}}`
|
||||
|
||||
- Create new group with a specific groupid:
|
||||
|
||||
`groupadd {{group_name}} -g {{group_id}}`
|
7
pages/linux/groupdel.md
Normal file
7
pages/linux/groupdel.md
Normal file
@ -0,0 +1,7 @@
|
||||
# groupdel
|
||||
|
||||
> Delete existing user groups from the system.
|
||||
|
||||
- Delete an existing group:
|
||||
|
||||
`groupdel {{group_name}}`
|
11
pages/linux/groupmod.md
Normal file
11
pages/linux/groupmod.md
Normal file
@ -0,0 +1,11 @@
|
||||
# groupmod
|
||||
|
||||
> Modify existing user groups in the system.
|
||||
|
||||
- Change the group name:
|
||||
|
||||
`groupmod -n {{new_group_name}} {{old_group_name}}`
|
||||
|
||||
- Change the group id:
|
||||
|
||||
`groupmod -g {{new_group_id}} {{old_group_name}}`
|
Loading…
Reference in New Issue
Block a user