how to create a user and add it to a group in linux

Shell
useradd -G examplegroup exampleusername
Source

Also in Shell: