sajad torkamani
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

Leave a comment

Your email address will not be published. Required fields are marked *