From 1064ba26dbbf8e1ea20c3af1065212adc061959b Mon Sep 17 00:00:00 2001 From: Marco Bonelli Date: Wed, 30 Jan 2019 12:16:17 +0100 Subject: [PATCH] chgrp: fix typo and clarify examples. (#2738) --- pages/common/chgrp.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pages/common/chgrp.md b/pages/common/chgrp.md index 519fd28064..11e3f225f3 100644 --- a/pages/common/chgrp.md +++ b/pages/common/chgrp.md @@ -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}}`