usermod -a -G examplegroup exampleusername
usermod -a -G groupname username
sudo usermod -aG <groups> <username>
sudo usermod -a -G <groupname> <username>
e.g.
sudo usermod -a -G wonderland alice
sudo usermod -a -G GROUP USER
sudo groupadd $GROUP
sudo usermod -aG $GROUP $USER
useradd -mg [groups] [username]
usermod -a -G <group> <user>
$ usermod -a -G developer tom
useradd -g <group> <user>
$ useradd -g developer tom