what is the command to view all users within a group in Linux

what is the command to view all users within a group in Linux
Anthony LuciaAsked:
Who is Participating?
 
SandyCommented:
yes, there is no command you can find out by using graphical panel called.

#system-config-users or the same command use by @Serialband

TY/SA
0
 
serialbandCommented:
If you only have local groups.

grep GROUP_NAME /etc/group

For Directory groups
getent group GROUP_NAME
0
 
gheistCommented:
There is no command like "groups" other way around.
neither getent or grep on group file will consider primary group in /etc/passwd.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.