All commands
chgrp
Topic: Permissions and ownership
Program: chgrp
Changes the group of files.
Package: besitzer
Usage
chgrp [OPTION]... GROUP FILE...
Description
Give each FILE the group GROUP, a name or a number. Without root you must own the file and belong to GROUP.
Options in the simulator
-
-c, --changes report each file whose owner or group really changes -
-f, --silent keep quiet about most errors -
-v, --verbose report every file, changed or not -
-h, --no-dereference change a symbolic link itself, not the file it points to -
--reference=RFILE copy the group of RFILE (a symlink counts as its target) -
-R, --recursive also change everything inside directories, directories last -
--help show this help and exit
8 more options of the real program, not in the simulator yet
-
--dereference not in the simulator yet On a real system it changes the target of each symbolic link with -R; without -R that is the default anyway.
-
--from needs a value not in the simulator yet On a real system it only changes files that have the given current owner or group.
-
--no-preserve-root not in the simulator yet On a real system it protects or allows the root directory / with -R; the simulator treats / like any directory.
-
--preserve-root not in the simulator yet On a real system it protects or allows the root directory / with -R; the simulator treats / like any directory.
-
-H not in the simulator yet On a real system it decides which symbolic links -R follows; the simulator follows none with -R (like -P).
-
-L not in the simulator yet On a real system it decides which symbolic links -R follows; the simulator follows none with -R (like -P).
-
-P not in the simulator yet On a real system it decides which symbolic links -R follows; the simulator follows none with -R (like -P).
-
--version not in the simulator yet On a real system it prints the version of the program.
Where you learn it
Lessons
All commands