You can use the “groups” or “id” command in the terminal to show all members of a group in Linux.
For example, to display the members of a group “groupname”, use the following command:
$ getent group groupname
Or, you can use the “id” command to display information about the group and its members:
id -Gn username
Replace “username” with the actual username to see the groups that the user belongs to.