Unix and Linux Discussions Tagged with groups |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
2 |
4,361 |
Shell Programming and Scripting |
|
|
|
2 |
4,023 |
UNIX for Beginners Questions & Answers |
|
|
|
13 |
3,724 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
3,069 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
4,983 |
UNIX for Advanced & Expert Users |
|
|
|
6 |
5,860 |
Solaris |
|
|
|
4 |
13,876 |
Red Hat |
|
|
|
2 |
15,938 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
6,095 |
Shell Programming and Scripting |
|
|
|
0 |
1,448 |
Complex Event Processing RSS News |
|
|
|
0 |
1,515 |
Complex Event Processing RSS News |
|
|
|
3 |
2,228 |
Shell Programming and Scripting |
|
|
|
2 |
17,333 |
Solaris |
|
|
|
1 |
6,571 |
Shell Programming and Scripting |
|
|
|
9 |
8,085 |
AIX |
|
|
|
4 |
5,019 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
6,297 |
AIX |
|
|
|
2 |
7,465 |
Cybersecurity |
|
|
|
3 |
3,596 |
UNIX Desktop Questions & Answers |
|
|
|
6 |
10,268 |
Cybersecurity |
|
|
|
1 |
2,422 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
5,631 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
3,774 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
4,827 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,899 |
UNIX for Advanced & Expert Users |
|
|
|
3 |
2,344 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,710 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
3,384 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,428 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
4,931 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
4,865 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
8,237 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
4,794 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
9,718 |
UNIX for Dummies Questions & Answers |
groups(1) General Commands Manual groups(1)
NAME
groups - Displays your group membership
SYNOPSIS
groups [user]
DESCRIPTION
The groups command writes to standard output the groups to which you or the specified user belong. The Tru64 UNIX operating system allows
a user to belong to many different groups at the same time.
Your primary group is specified in the /etc/passwd file. Once you are logged in, you can change your active group with the newgrp shell
command (see sh). When you create a file, its group ID is that of your active group.
Other groups that you belong to are specified in the /etc/group file. If you belong to more than one group, you can access files belonging
to any of those groups without changing your primary group ID. These are called your concurrent groups.
NOTES
The /etc/passwd and /etc/group files must be on the same node.
EXAMPLES
To determine your group membership, enter: groups
The groups to which you belong will be displayed. For example: devel prod
FILES
Contains group information. Contains user information.
SEE ALSO
Commands: csh(1), ksh(1), sh(1)
Functions: initgroups(3), setgroups(2)
groups(1)