Create Group Linux Command Line Code Example
Example 1: how to create a user and add it to a group in linux
useradd -G examplegroup exampleusername
Example 2: how to create a new group in linux
groupadd [OPTIONS] GROUPNAME
useradd -G examplegroup exampleusername
groupadd [OPTIONS] GROUPNAME
Comments
Post a Comment