chgrp: fix typo and clarify examples. (#2738)
This commit is contained in:

committed by
Starbeamrainbowlabs

parent
c90ed14a96
commit
1064ba26db
@@ -2,18 +2,18 @@
|
||||
|
||||
> Change group ownership of files and folders.
|
||||
|
||||
- Change the owner of a file/folder:
|
||||
- Change the owner group of a file/folder:
|
||||
|
||||
`chgrp {{group}} {{path/to/file}}`
|
||||
|
||||
- Recursively change the owner of a folder and its contents:
|
||||
- Recursively change the owner group of a folder and its contents:
|
||||
|
||||
`chgrp -R {{group}} {{path/to/folder}}`
|
||||
|
||||
- Change the owner of a symbolic link:
|
||||
- Change the owner group of a symbolic link:
|
||||
|
||||
`chgrp -h {{user}} {{path/to/symlink}}`
|
||||
`chgrp -h {{group}} {{path/to/symlink}}`
|
||||
|
||||
- Change the owner of a file/folder to match a reference file:
|
||||
- Change the owner group of a file/folder to match a reference file:
|
||||
|
||||
`chgrp --reference={{path/to/reference_file}} {{path/to/file}}`
|
||||
|
Reference in New Issue
Block a user