Flowdock
method

getgrnam

Importance_1
getgrnam(p1) public

Returns information about the group with specified String name, as found in /etc/group.

The information is returned as a Struct::Group; see getgrent above for details.

e.g. Etc.getgrnam(‘users’) -> #<struct Struct::Group name=“users”, passwd=“x”, gid=100, mem=[“meta”, “root”]>

Show source
Register or log in to add new notes.