- Perl ›
- builtin functions ›
- here
getgrnam function - get group ID from group name
To get the group ID from the group name , use the getgrnam function as follows:
# Get group ID from group name my $gid = (getgrnam'devel') [2];
To get the group ID from the group name , use the getgrnam function as follows:
# Get group ID from group name my $gid = (getgrnam'devel') [2];