[Linux] Group related commands

Introduction

When I touched the Linux environment for the first time in a long time, I forgot the Linux command quite a bit, so make a note of it.

Group related commands

Add group

groupadd [group name]

Group list

cut -d: -f1 /etc/group

Add user's group

usermod -aG [Group name] [User name]

Change user's group

usermod -g [Group name] [User name]
usermod -G [Group name] [User name]

Group confirmation of users

groups [user name]

Group deletion

groupdel [group name]

Recommended Posts

[Linux] Group related commands
Linux commands
Linux commands
linux commands
Linux commands
Linux commands
Linux commands related to character code
Network Linux commands
Linux user commands
New Linux commands! !!
Basic LINUX commands
Various Linux commands
Typical Linux commands (7)
Quick reference table: Linux disk related commands
Frequently used Linux commands
Frequently used Linux commands
Linux commands to remember
New Linux commands! !! Part 2
Studying Linux commands and frustration
[Linux] User / group command summary
Introduction to Linux Commands ~ LS-DYNA Edition ~
Linux kernel memory model related documentation
Basic knowledge of Linux and basic commands
Handle dates in Linux bash commands
[Linux Mint 20] Various WiFi confirmation commands
[Linux] Frequently used Linux commands (file operation)
Convenient shortcut keys for Linux commands! !! !!
Frequently used Linux commands (for beginners)
Linux
Linux commands that you often forget
[Linux] File and directory operation commands
List of frequently used Linux commands
Try compiling Linux commands (cross-compilation practice)
[Linux] Frequently used Linux commands (folder operation)
About Linux commands Super basic edition
Note: Linux concepts and minimum commands
Use Linux commands on Android devices
Linux (for users and su / sudo commands)
Create your own Linux commands in Python
[Linux] Review of frequently used basic commands 2
[Linux] Summary of middleware version confirmation commands
[Linux] List of Linux commands used in practice
Summary of petit techniques for Linux commands
[Linux] Review of frequently used basic commands
[Linux] Change of authority, owner, owning group
[Linux] Learn the basics of shell commands