chgrp [Command]

Command chgrp

chgrp command changes the owner group of one or more files.

Syntax

chgrp [-cfvR] group files

Options

-c displays only files with modified group owner.
-f suppress error messages.
-v detailed reports on the changes the group owner.
-R recursively changes the group ownership of files in all subdirectories.

Description

To change the group owner of one or more files, type chgrp group name, and after him – the names of files (group owner can also change and by command chown).

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.