Unix and Linux Discussions Tagged with groups |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
2 |
3,940 |
Shell Programming and Scripting |
|
|
|
2 |
3,366 |
UNIX for Beginners Questions & Answers |
|
|
|
13 |
3,316 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
2,838 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
4,760 |
UNIX for Advanced & Expert Users |
|
|
|
6 |
5,379 |
Solaris |
|
|
|
4 |
13,643 |
Red Hat |
|
|
|
2 |
15,699 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
5,916 |
Shell Programming and Scripting |
|
|
|
0 |
1,354 |
Complex Event Processing RSS News |
|
|
|
0 |
1,488 |
Complex Event Processing RSS News |
|
|
|
3 |
2,173 |
Shell Programming and Scripting |
|
|
|
2 |
17,154 |
Solaris |
|
|
|
1 |
6,413 |
Shell Programming and Scripting |
|
|
|
9 |
7,574 |
AIX |
|
|
|
4 |
4,898 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
6,007 |
AIX |
|
|
|
2 |
7,158 |
Cybersecurity |
|
|
|
3 |
3,448 |
UNIX Desktop Questions & Answers |
|
|
|
6 |
9,657 |
Cybersecurity |
|
|
|
1 |
2,206 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
5,268 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
3,444 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
4,636 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,233 |
UNIX for Advanced & Expert Users |
|
|
|
3 |
2,044 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,392 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
3,217 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,212 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
4,691 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
4,394 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
7,607 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
4,115 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
8,900 |
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)