mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 08:07:44 +00:00
Base: Add more manpages for command-line utilities
This commit is contained in:
parent
5d8585df97
commit
57340dda36
25 changed files with 749 additions and 0 deletions
32
Base/usr/share/man/man1/chown.md
Normal file
32
Base/usr/share/man/man1/chown.md
Normal file
|
@ -0,0 +1,32 @@
|
|||
## Name
|
||||
|
||||
chown - change file owner / group
|
||||
|
||||
## Synopsis
|
||||
|
||||
```**sh
|
||||
$ chown [user][:group] files...
|
||||
```
|
||||
|
||||
## Description
|
||||
|
||||
`chown` changes the owner of specified files to `user`, and owning group to `group`. If `group` is not specified, it is left unchanged.
|
||||
|
||||
**NOTE**: The caller must be a superuser to change user ownership. Other users can use `chown` to change the group to one of their other
|
||||
group.
|
||||
|
||||
## Examples
|
||||
|
||||
```sh
|
||||
# Change 'file' owner and group to 'anon':
|
||||
$ chown anon:anon file
|
||||
|
||||
# Change 'file' owner to 'root', leave group unchanged:
|
||||
# chown root file
|
||||
```
|
||||
|
||||
## See also
|
||||
|
||||
* [`chgrp`(1)](chmod.md)
|
||||
* [`chown`(1)](chown.md)
|
||||
* [`chmod`(2)](../man2/chmod.md)
|
Loading…
Add table
Add a link
Reference in a new issue