Linux Command--chmod
Command Description
Permissions to change the file or directory. In the UNIX system family, the control of file or directory permissions is divided by reading, writing, executing 3 general permissions, and 3 special
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
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
Today to share 2 commands are also commonly used in our usual, chmod and chown seems to spell a bit similar, but the use of the two is different. Chmod is used to set folder and file permissions, such as our VPS host files can not read and write,
As shown, create a new user Masterbai under root privileges, and add some information to the/etc/passwd fileIn this file, the user information of the server, such as the red box user, is the user we created, and up to 2-25 of the users, belonging to
In the Linux system, Chmod,chown commands can be set permissions, but they are also different, the following small section for you to introduce chmod and chown two command usage and differences introduced.Today's 2 commands to share are also
* Indicates a wildcard symbol,? Represents a single character; for LS list*, the file starting with list is in the current directory, while LS *list represents the end of the list in the current directory; for LS? The list represents a file in the
Do not exit the current window after execution!!!When you set a station's permissions on your own virtual machine, it should be chmod-r 777./* Results less pressing a point, executed chmod-r 777/* Because the execution time exceeded their expected
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.