members

Shows the members of a group; by default, all members

Install

All systems
curl cmd.cat/members.sh
Debian Debian
apt-get install members
Ubuntu
apt-get install members
image/svg+xml Kali Linux
apt-get install members
Windows (WSL2)
sudo apt-get update sudo apt-get install members
Raspbian
apt-get install members

members

Shows the members of a group; by default, all members

members is the complement of groups: whereas groups shows the groups a specified user belongs to, members shows users belonging to a specified group. Given the name of a group, members will send a space-separated list of member names to stdout. Full option parsing has been added as of this version. You can ask for primary members, secondary members, both on one line, each on separate lines. If no option is selected, prints all members on one line by default.