sudo add group code example Example: how to create a user and add it to a group in linux useradd -G examplegroup exampleusername