home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


getgrnam

getgrnam 
name

Retrieves a group file entry by the group name name . The return value in list context is:

($name, $passwd, $gid, $members)
where $members contains a space-separated list of the login names of the members of the group. In scalar context, getgrnam returns only the numeric group ID.


Previous: Reference: getgrgid Perl in a Nutshell Next: Reference: gethostbyaddr
Reference: getgrgid Book Index Reference: gethostbyaddr

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.