chgrp
FilesFundamentals In simulator In real LinuxChange the group of files
Name: chgrp = change group
You can practise it right away in the simulator, and use it in real Linux mode too.
Description
chgrp changes a file's group. The owner may switch to any group they belong to; other groups need root.
Syntax
chgrp [OPTION]... GROUP FILE...Common options
| -R / --recursive | Operate recursively |
| -h / --no-dereference | Change the symbolic link itself, not what it points to |
| -v / --verbose | Print a line for every file processed |
| --reference FILE | Use FILE’s group |
Examples
$ sudo chgrp developers app.py
Set the group to developers
Explain