how to add group in linux code example
Example 1: how to create a user and add it to a group in linux
useradd -G examplegroup exampleusername
Example 2: linux append group
usermod -a -G examplegroup exampleusername
Example 3: how to create a new group in linux
groupadd [OPTIONS] GROUPNAME