Let's create a group named cartoon. To do that, you need to run the command groupadd cartoon:
root@ubuntu-linux:~# groupadd cartoon
Notice that a new line with the group information will be added to the end of the file /etc/group:
root@ubuntu-linux:~# tail -n 1 /etc/group
cartoon:x:1009:
Notice that the group cartoon currently has no members, and that's why the fourth field is currently empty.
Let's create another group named developers, but this time, we will specify a GID of 888:
root@ubuntu-linux:~# groupadd --gid 888 developers
Let's check the developers group entry in /etc/group:
root@ubuntu-linux:~# tail -n 1 /etc/group
developers:x:888:
And it looks just like we expect it to be. Cool!