How To Install Groups?

How To Install Groups?

groups

Print group memberships for a user.

Maintainer: Michael Stone



Section: utils

Install groups

  • Debian apt-get install coreutils Click to copy
  • Ubuntu apt-get install coreutils Click to copy
  • Alpine OS apk add shadow Click to copy
  • Arch Linux pacman -S shadow Click to copy
  • Kali Linux apt-get install coreutils Click to copy
  • CentOS yum install coreutils Click to copy
  • Fedora dnf install coreutils Click to copy
  • Raspbian apt-get install coreutils Click to copy
  • macOS brew install coreutils Click to copy

Print group memberships for a user.

How to use groups?

Below are few example commands for groups that you can use in the terminal.

Print group memberships for the current user:
groupsClick to copy
Print group memberships for a specific user:
groups usernameClick to copy
Print group memberships for a list of users:
groups username1 username2 username3Click to copy
Install the latest version of groups in Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian and macOS from terminal. To install the groups just copy the above command for your OS and run into terminal. After you run the command it will grab the latest version of groups from the respository and install it in your computer/server.