Linux Command Encyclopedia file management: CHGRP

Source: Internet
Author: User
Keywords Linux file management CHGRP command encyclopedia
Tags aliyun change command encyclopedia directory file file management files group

Feature Description: Change the group to which the file or directory belongs.

Grammar: chgrp&http://www.aliyun.com/zixun/aggregation/37954.html ">NBSP;" [-CFHRV] [--help] [--version] [Group owned] [File or directory ...] or chgrp [-cfhrv][--help][--reference=< reference file or directory >][--version][file or directory ...]

Supplemental Note: In the UNIX system family, the control of file or directory permissions is managed by the owner and the owning group. You can use the CHGRP directive to change the group of files and directories that are grouped by group name or group identification code.

Parameters:
The-C or--changes effect is similar to the "-V" parameter but only returns the changed part.
The-F or--quiet or--silent does not display an error message.
-H or--no-dereference only make changes to the signed file, without altering any other related files.
-R or--recursive recursively, all files and subdirectories in the specified directory are processed together.
The-V or--verbose displays the instruction execution process.
--help online Help.
The--reference=< reference file or directory > sets the group of the specified file or directory to the same group as the reference file or directory.
--version Displays version information.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.