Unix and Linux Discussions Tagged with groups |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
2 |
4,369 |
Shell Programming and Scripting |
|
|
|
2 |
4,041 |
UNIX for Beginners Questions & Answers |
|
|
|
13 |
3,741 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
3,088 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
4,987 |
UNIX for Advanced & Expert Users |
|
|
|
6 |
5,861 |
Solaris |
|
|
|
4 |
13,878 |
Red Hat |
|
|
|
2 |
15,946 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
6,097 |
Shell Programming and Scripting |
|
|
|
0 |
1,451 |
Complex Event Processing RSS News |
|
|
|
0 |
1,515 |
Complex Event Processing RSS News |
|
|
|
3 |
2,229 |
Shell Programming and Scripting |
|
|
|
2 |
17,337 |
Solaris |
|
|
|
1 |
6,572 |
Shell Programming and Scripting |
|
|
|
9 |
8,092 |
AIX |
|
|
|
4 |
5,022 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
6,303 |
AIX |
|
|
|
2 |
7,470 |
Cybersecurity |
|
|
|
3 |
3,602 |
UNIX Desktop Questions & Answers |
|
|
|
6 |
10,283 |
Cybersecurity |
|
|
|
1 |
2,433 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
5,633 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
3,783 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
4,831 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,919 |
UNIX for Advanced & Expert Users |
|
|
|
3 |
2,349 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,721 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
3,389 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,441 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
4,939 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
4,877 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
8,252 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
4,810 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
9,743 |
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.11 14 Sep 1992 groups(1)