Linux Views 4

The Linux chgrp command

The Linux chgrp command image 1

 

The chgrp command is used to change a file’s owning group.

Only the system’s superuser, root, can use it.

chgrp [option] [group] [file]

 
 Option  Description 
 -c  Shows only the files that changed, in detail.  
 -f   Does not show error messages.
 -v  Shows the work status in detail.
 -R  Changes paths underneath as well.

Command examples

The Linux chgrp command image 2

Reactions

Comments 0

A nickname and a password are required. The same password edits or deletes the comment later. Comments appear after a review.

Comments appear after a review. The password is used again to edit or delete.