Displaying who is in a group on Linux

Display who is in a group by using the getent command.

Procedure

To display who is a member of a group, type the following command: getent group group-name
, where group-name is the name of the group.