CHOWN.8
资源名称:os_source.zip [点击查看]
上传用户:datang2001
上传日期:2007-02-01
资源大小:53269k
文件大小:1k
源码类别:
操作系统开发
开发平台:
C/C++
- .TH CHOWN 8
- .SH NAME
- chown - change owner
- .SH SYNOPSIS
- fBchown [fB-RfR] fIownerfR[:fIgroupfR] fIfilefR ...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 "chown ast file1 file2" "Make fIastfR the owner of the files"
- .EX "chown -R ast:other dir" "Change the owner and group of all files in dir"
- .SH DESCRIPTION
- .PP
- The owner field (and optionally group field) of the named files is changed
- to
- .I owner
- (i.e., login name specified) and
- .I group .
- Alternatively, a decimal uid(gid) may be specified instead of a user name.
- Only the superuser may execute this command.
- .SH "SEE ALSO"
- .BR chgrp (1),
- .BR chmod (1),
- .BR ls (1),
- .BR chown (2).