Iv. Linux/UNIX operating command accumulation [chmod, chown, tail], chmodchownIn Linux/UNIX, users often use the text interface to set the system or operating system. The author is constantly in touch with this command during his work, therefore,
One, the use of chown and chmod commands
directive Name: chmod
Use Rights: All users
How to use: chmod [-CFVR] [--help] [--version] Mode file ...
Description: Linux/unix file access rights are divided into three levels: file owners, groups,
The Chown command alters the owner of a file or directory and the group it belongs to, which can authorize a user to become the owner of the specified file or to change the group to which the file belongs.(1) Usage:usage: chown [Options] ... Owner [:
Linux, you can use the Chown command to modify the folder's user rights.1. Log in to Linux with normal user A, and use Su-to switch to the root user2. Under root user, you can see the contents of the folder3. But unable to open git folder through
Directive Name: chmod
Use Rights: All users
How to use: chmod [-CFVR] [--help] [--version] Mode file ...
Description: Linux/unix file access rights are divided into three levels: file owners, groups, others. Using chmod can
To control how the file
directive Name: chmodUsage rights: All usersMode of use: chmod [-CFVR] [--help] [--version] Mode file ...Description: Linux/unix file access rights are classified into three levels: file owners, groups, and others. The use of chmod can beTo control
Linux command to change the file owner and group syntax: www.2cto. comchown [OPTION] [OWNER] [: [GROUP] FILEchown [OPTION] -- referenceRFILEFILE description: chown changes the user and/or GROUP of the specified file... linux command chown change
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
Command name: chmod permission: Usage of all users: chmod [-cfvR] [-- help] [-- version] modefile... note: file access permissions for Linux/Unix are classified into three levels: file owner, group, and others. The chmod can be used to control the
One linux Command every day (30): chown 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
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.