List members of group on Ubuntu
11 March 2022 (Updated 11 March 2022)
getent group <group>
For example, you can list members in the sudo group with:
getent group sudo
This would output something like:
sudo:x:37:sajad
Tagged:
Ubuntu user management
Thanks for your comment 🙏. Once it's approved, it will appear here.
Leave a comment