grp.h(3HEAD) Headers grp.h(3HEAD)NAME
grp.h, grp - group structure
SYNOPSIS
#include <grp.h>
DESCRIPTION
The <grp.h> header declares the structure group, which includes the following members:
char *gr_name /* name of the group */
gid_t gr_gid /* numerical group ID */
char **gr_mem /* pointer to a null-terminated array of character */
/* pointers to member names */
The gid_t type is defined as described in <sys/types.h> (see types(3HEAD)).
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
SEE ALSO getgrnam(3C), types.h(3HEAD), attributes(5), standards(5)SunOS 5.10 10 Sep 2004 grp.h(3HEAD)
Check Out this Related Man Page
grp.h(3HEAD) Headers grp.h(3HEAD)NAME
grp.h, grp - group structure
SYNOPSIS
#include <grp.h>
DESCRIPTION
The <grp.h> header declares the structure group, which includes the following members:
char *gr_name /* name of the group */
gid_t gr_gid /* numerical group ID */
char **gr_mem /* pointer to a null-terminated array of character */
/* pointers to member names */
The gid_t type is defined as described in <sys/types.h> (see types(3HEAD)).
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
SEE ALSO getgrnam(3C), types.h(3HEAD), attributes(5), standards(5)SunOS 5.10 10 Sep 2004 grp.h(3HEAD)
Hi,
I have a file in my system as below
My user and grp id is sns / sns
-rwxrwxrwx 1 sns sns 6012357 Sep 27 06:01 sample
Is there a way to change the owner and grp of this file to app / app ... ie. as given below
-rwxrwxrwx 1 app app 6012357 Sep 27 06:01 sample
I guessed... (1 Reply)
I am trying to work with a text file which has following format and trying ti run if elseif loop but fails. Any help is appreciated
289B ship N-grp 123
289C ship N-grp 123
289D ship N-grp 123
2CE1 flight N-grp 123
2CE2 flight N-grp 123
2CE3 flight N-grp 123
2CE4 flight N-grp 123
2DAF... (4 Replies)
I am trying to match first 5 values of $passt variable in a file $chpdvlst and then verify that value in $grp parameter I want first 5 values which has $vaht - ship and $grp = N-grp. Somehow script below lists whole file.
$memcnt = 5;
$passt = ship;
open (ADVOUT, "< $chpdvlst") || die... (5 Replies)
how do i send email to distribution grp. for example, right now, if i want to send email to: jane doe1 and jane doe2
echo "test" | mail -s "test" "janedoe1@yahoo.com, janedoe2@yahoo.com"
---------- Post updated at 06:14 PM ---------- Previous update was at 06:04 PM ----------
found it.
... (0 Replies)