linux add group and user code example
Example 1: add user to group
usermod -a -G examplegroup exampleusername
Example 2: how to add multiple users to group in linux
gpasswd -M userA,userB,userC mygroup
#if gpasswd is available on system.
usermod -a -G examplegroup exampleusername
gpasswd -M userA,userB,userC mygroup
#if gpasswd is available on system.