Tuesday, April 14, 2015

How to check users in a group

For a group wgs to find its users type:

awk -F: '/^wgs/ {print $4;}' /etc/group

No comments:

Post a Comment