๐Ÿ‘ฅCreating a group

  1. We will create a new group called user42. For that we must use:

sudo addgroup user42

It will show this:

๐Ÿง  What is GIDโ“ It's the group identifier, in short, Group ๐Ÿ†”.

  1. ๐Ÿค” Was the group created without problems? Truth is that there is no sign of one, still we can check it using with:

getent group <groupname>

And see all groups and the users in any of them.

Last updated

Was this helpful?