members command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
members: command not found
or when using sudo you get the following error message
sudo: members: command not found
Solutions to members: command not found
How To Fix members: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu members is provided by members package.
members is:
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.
To fix this problem, we can install more using the command below.
sudo apt-get -y install members
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install members.
sudo apt -y install members
Or if you have aptitude installed you can use the following command.
sudo aptitude install members
Summary
In this tutorial we learn how to fix members command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.