Chmod is the right to change a file Chown is the owner and genus of the modified file Chgrp only the genus group that changed the file.I. Interpretation of file permissionsAs shown, the beginning of the-rwxrw-r--string identifies the file
An operating system is essential to a computer. However, Linux is developing very rapidly and is catching up with Microsoft. Here we will introduce the knowledge of Linux, so that you can learn how to use Linux. Today I will talk about Linux chgrp
##################################### Rights Management directive chmod CHGRP Chown ## Modified time: 20160529 #####################################------------------------------------------------------------------chmodThe basic rights of Linux
It is easy to change the user group of a file. use chgrp directly. This command is the abbreviation of changegroup (change user group. This makes it easy to remember. However, remember that the name of the user group to be changed must exist
One linux Command every day (29): chgrp command link: One linux Command every day (1): ls command http://www.bkjia.com/ OS /210210/163049.html#linuxlinuxcommand every day (2): cd command serial (3 ): pwd command Export (4): mkdir command
root@bt:~/test# chgrp --helpUsage: chgrp [OPTION]... GROUP FILE... or: chgrp [OPTION]... --reference=RFILE FILE...Change the group of each FILE to GROUP.With --reference, change the group of each FILE to that of RFILE. -c, --changes like
The inux chgrp command is used to change the group to which the file or directory belongs.In the UNIX system family, the control of file or directory permissions is managed by the owner and its group. You can use the chgrp command to change the
Each file and directory in a Linux system has access permissions, which are used to determine who can access and manipulate files and directories.Access to a file or directory is divided into read-only, write-only, and executable three types. As an
Chmod is the right to change a file Chown is the owner and genus of the modified file Chgrp only the genus group that changed the file.(1) chmod is the right to modify the file/directory. can have text modification and digital modification.#chmod
Chmod is the right to change the file;CHGRP only changes the group of files;Chown is the owner and genus of the changed file.1.chmod: Change permissions for a fileThere are two ways to set file permissions, namely numbers and tags .Mode: Permission
ArticleDirectory
Option
Example
Change the group associated with the file
Chgrp [Options]Group file-list
Parameters
GroupThe name or value ID of the new group,File-listTo change the list of file path names of the
1, CHGRP (change the file belongs to the user group)CHGRP (transform file to user group) change GroupCHGRP user Group filename # # #便是这个格了. If the entire contents are changed, the plus-r parameter is used for recursion.Example: Chgrp-r user smb.conf2
Each file and directory in a Linux system has access permission to determine who can access and manipulate files and directories in any way.
File or directory access is divided into read-only, write-only and executable three kinds. In the case of a
Objective
This article mainly learn Hadoop HDFs from HDFs move to local, move from local to Hdfs,tail view last, rm delete file, expunge empty trash,chown change owner, setrep change file copy number, CHGRP change belong group,, Du, DF Disk
1. Introduction to CommandsThe chgrp (change group) is used to set the owning group of each specified file to the specified value. If you use--reference, the owning group for each file is set to be the same as the specified reference file.2. Usage
1, chgrp (change file to belong to user group)
CHGRP user Group filename # # #就是这个格了. If the entire directory is changed, the plus-r parameter is used for recursion.
such as: Chgrp-r user smb.conf
The CHGRP command changes the file or
1, CHGRP (change the file belongs to the user group)CHGRP user Group filename # # #便是这个格了. If the entire contents are changed, the plus-r parameter is used for recursion.Example: Chgrp-r user smb.conf2. Chown (change file owner)Landscape: A:chown
each file and directory in a Linux system has access permissions, which are used to determine who can access and manipulate files and directories. access to a file or directory is divided into read-only, write-only, and executable three types. As an
Previous section review:1. Enter directory: cd command2. Create directory: mkdir command3. Delete directory: rmdir command4. File and directory replication: CPJobs: Create a directory test1,test2, create a test1.txt file in Test1, and then copy the
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.