chgrp.1
来自「操作系统设计与实现源码」· 1 代码 · 共 39 行
1
39 行
.TH CHGRP 1.SH NAMEchgrp \- change group.SH SYNOPSIS\fBchgrp [\fB\-R\fR] [\fIowner:\fR]\fIgroup \fIfile\fR ...\fR.br.de FL.TP\\fB\\$1\\fR\\$2...de EX.TP 20\\fB\\$1\\fR# \\$2...SH OPTIONS.FL "\-R" "Change directory hierarchies".SH EXAMPLES.EX "chgrp system file1 file2" "Make \fIsystem\fR the group of the files".EX "chrgp \-R other dir1" "Make \fIother\fR the group of all files below dir1".SH DESCRIPTION.PPThe group field (and optionally owner field) of the named files is changed to .I groupand.I owner .Alternatively, a decimal gid (uid) may be specified instead of a group name.If the \fB\-R\fR flag is used, the changes will be applied recursively toall files in named directories. Only the superuser may execute this commandto set arbitrary groups. Normal users can only change the group if they ownthe file, and the group is their own group (Minix), or one of theirsupplementary groups (Minix-vmd)..SH "SEE ALSO".BR chown (1),.BR chmod (1),.BR ls (1),.BR chown (2).
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?