Command to add user into specific group in Linux system.
* sudo adduser user group
* sudo gpasswd -a user group
Command to know all groups in Linux system.
* groups
Command to know which group(s) a specific user is belong to.
* groups user
Command to remove user from specific group in Linux system.
* sudo gpasswd -d user group