ubuntu add user to group

Shell
usermod -a -G examplegroup exampleusernamesudo usermod -a -G group username
Source

Also in Shell: