Unix and Linux Discussions Tagged with groups |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
2 |
3,909 |
Shell Programming and Scripting |
|
|
|
2 |
3,281 |
UNIX for Beginners Questions & Answers |
|
|
|
13 |
3,272 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
2,807 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
4,707 |
UNIX for Advanced & Expert Users |
|
|
|
6 |
5,316 |
Solaris |
|
|
|
4 |
13,594 |
Red Hat |
|
|
|
2 |
15,649 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
5,880 |
Shell Programming and Scripting |
|
|
|
0 |
1,338 |
Complex Event Processing RSS News |
|
|
|
0 |
1,481 |
Complex Event Processing RSS News |
|
|
|
3 |
2,162 |
Shell Programming and Scripting |
|
|
|
2 |
17,102 |
Solaris |
|
|
|
1 |
6,393 |
Shell Programming and Scripting |
|
|
|
9 |
7,527 |
AIX |
|
|
|
4 |
4,890 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
5,967 |
AIX |
|
|
|
2 |
7,123 |
Cybersecurity |
|
|
|
3 |
3,422 |
UNIX Desktop Questions & Answers |
|
|
|
6 |
9,546 |
Cybersecurity |
|
|
|
1 |
2,185 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
5,221 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
3,358 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
4,581 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,125 |
UNIX for Advanced & Expert Users |
|
|
|
3 |
2,005 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,343 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
3,193 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,186 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
4,665 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
4,340 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
7,528 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
4,019 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
8,813 |
UNIX for Dummies Questions & Answers |
groups(1) User Commands groups(1)
NAME
groups - print group membership of user
SYNOPSIS
groups [user...]
DESCRIPTION
The command groups prints on standard output the groups to which you or the optionally specified user belong. Each user belongs to a group
specified in /etc/passwd and possibly to other groups as specified in /etc/group. Note that /etc/passwd specifies the numerical ID (gid)
of the group. The groups command converts gid to the group name in the output.
EXAMPLES
The output takes the following form:
example% groups tester01 tester02
tester01 : staff
tester02 : staff
example%
FILES
/etc/passwd
/etc/group
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
group(4), passwd(4), attributes(5)
SunOS 5.10 14 Sep 1992 groups(1)