Thursday, April 25, 2024
213
rated 0 times [  213] [ 0]  / answers: 1 / hits: 300136  / 2 Years ago, sun, march 13, 2022, 9:26:24

How can I see all the members of a group in Linux?


More From » user-management

 Answers
0

Use the commands:


getent group groupname

or


getent group groupname | awk -F: '{print $4}' |  tr "," " "

[#38447] Monday, March 14, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
eatack

Total Points: 245
Total Questions: 120
Total Answers: 113

Location: Estonia
Member since Wed, Jun 8, 2022
2 Years ago
;