Formatted all pages according to guidelines.
This commit is contained in:
@@ -1,23 +1,23 @@
|
||||
# chown
|
||||
|
||||
> Change the owning user/group of the specified files
|
||||
> Change the owning user/group of the specified files.
|
||||
|
||||
- change the user of a file
|
||||
- Change the user of a file:
|
||||
|
||||
`chown {{user}} {{path/to/file}}`
|
||||
|
||||
- change the user and group of a file
|
||||
- Change the user and group of a file:
|
||||
|
||||
`chown {{user}}:{{group}} {{path/to/file}}`
|
||||
|
||||
- recursively change the owner of an entire folder
|
||||
- Recursively change the owner of an entire folder:
|
||||
|
||||
`chown -R {{user}} {{path/to/folder}}`
|
||||
|
||||
- change the owner of a symbolic link
|
||||
- Change the owner of a symbolic link:
|
||||
|
||||
`chown -h {{user}} {{path/to/symlink}}`
|
||||
|
||||
- use the owner and group of a reference file and apply those values to another file
|
||||
- Use the owner and group of a reference file and apply those values to another file:
|
||||
|
||||
`chown --reference={{reference-file}} {{path/to/file}}`
|
||||
|
Reference in New Issue
Block a user