Unix and Linux Discussions Tagged with groups |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
2 |
3,512 |
Shell Programming and Scripting |
|
|
|
2 |
3,011 |
UNIX for Beginners Questions & Answers |
|
|
|
13 |
3,127 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
2,682 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
4,556 |
UNIX for Advanced & Expert Users |
|
|
|
6 |
5,228 |
Solaris |
|
|
|
4 |
13,492 |
Red Hat |
|
|
|
2 |
15,567 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
5,809 |
Shell Programming and Scripting |
|
|
|
0 |
1,294 |
Complex Event Processing RSS News |
|
|
|
0 |
1,474 |
Complex Event Processing RSS News |
|
|
|
3 |
2,146 |
Shell Programming and Scripting |
|
|
|
2 |
17,000 |
Solaris |
|
|
|
1 |
6,344 |
Shell Programming and Scripting |
|
|
|
9 |
7,405 |
AIX |
|
|
|
4 |
4,862 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
5,910 |
AIX |
|
|
|
2 |
7,009 |
Cybersecurity |
|
|
|
3 |
3,395 |
UNIX Desktop Questions & Answers |
|
|
|
6 |
9,274 |
Cybersecurity |
|
|
|
1 |
2,156 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
5,078 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
3,182 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
4,427 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,930 |
UNIX for Advanced & Expert Users |
|
|
|
3 |
1,929 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,223 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
3,157 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,163 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
4,604 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
4,221 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
7,338 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,847 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
8,597 |
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)