Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

🏠 Back to Blog

Groups

Groups offer a way to share files and directories among users.

  • The /etc/group file defines the group IDs. Each line in this file represents a group, with fields separated by colons. There are 4 fields:

    1. The group name
    2. The group password (this can be ignored)
    3. The group Id
    4. An optional list of users that belong to the group
  • To see the groups you belong to, run groups