groups.1
来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 1 代码 · 共 42 行
1
42 行
.\" SCCSID: @(#)groups.1 8.1 9/11/90.TH groups 1.SH Namegroups \- show group memberships.SH Syntax\fBgroups [\|\fIuser\fR\|].SH Description.NXR "groups command".NXR "group" "displaying memberships".NXAM "setgroups system call" "groups command"The.PN groupscommand shows the groups to which the specified\fIuser\fP belongs determined by reading .PN /etc/group .These are the groups that will be in effect the next time the\fIusr\fP logs in.If the.PN groupscommand is used without the \fIusr\fP argument, it will reportthe groups currently in effect using the .MS getgroups 2system call. If the .PN /etc/group file was changed after the login, this may not be the same..PPEach user belongs to a group specified in the password file .PN /etc/passwdand possibly to other groups as specified in the file .PN /etc/group .If you do not own a file but you do belong to the group by which it is owned, you are granted group access to the file..PPWhen a new file is created it is giventhe group specifications of the directory in which it resides..SH Files.PN /etc/passwd.br.PN /etc/group.SH See Alsosetgroups(2)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?