linux command to check user group code example
Example 1: check which users are part of a group linux
grep 'group-name-here' /etc/group
Example 2: check user group console linux
groups
groups userName-Here
grep 'group-name-here' /etc/group
groups
groups userName-Here