add usert to group linux code example
Example 1: add user to group
usermod -a -G examplegroup exampleusername
Example 2: linux add user to group
# add user to additional group
usermod -G groupname username
usermod -a -G examplegroup exampleusername
# add user to additional group
usermod -G groupname username