Unix and Linux Discussions Tagged with groups |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
2 |
3,951 |
Shell Programming and Scripting |
|
|
|
2 |
3,385 |
UNIX for Beginners Questions & Answers |
|
|
|
13 |
3,322 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
2,843 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
4,773 |
UNIX for Advanced & Expert Users |
|
|
|
6 |
5,389 |
Solaris |
|
|
|
4 |
13,651 |
Red Hat |
|
|
|
2 |
15,703 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
5,918 |
Shell Programming and Scripting |
|
|
|
0 |
1,357 |
Complex Event Processing RSS News |
|
|
|
0 |
1,488 |
Complex Event Processing RSS News |
|
|
|
3 |
2,173 |
Shell Programming and Scripting |
|
|
|
2 |
17,156 |
Solaris |
|
|
|
1 |
6,415 |
Shell Programming and Scripting |
|
|
|
9 |
7,579 |
AIX |
|
|
|
4 |
4,903 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
6,015 |
AIX |
|
|
|
2 |
7,165 |
Cybersecurity |
|
|
|
3 |
3,453 |
UNIX Desktop Questions & Answers |
|
|
|
6 |
9,684 |
Cybersecurity |
|
|
|
1 |
2,209 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
5,277 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
3,464 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
4,649 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,254 |
UNIX for Advanced & Expert Users |
|
|
|
3 |
2,048 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,399 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
3,220 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,217 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
4,694 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
4,405 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
7,627 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
4,132 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
8,912 |
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)