Linux-shell command chgrp Change Group __linux

Source: Internet
Author: User

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

Syntax Description:chgrp [-cfhrv][--help][--version][owned group] [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.

parameter Description:

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, but not any other related files.

-R or--recursive recursively, all files and subdirectories under 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.