Linux file attributes and operations on files

Source: Internet
Author: User

Create files under linux command: VI

[1] permissions [2] connection [3] owner [4] User Group [5] File capacity [6] Modified date [7] file name

[1]

The first character indicates that the file is "directory, file, or linked file, etc."

If [d] is the directory if [-] is the file if [I] is indicated as a connection file if [b] means that the device file is available for storage of the interface device

If [C] indicates a serial port device in the device file, such as a keyboard, mouse (one-time read device)

In the following characters, a group of 3, each of which is a combination of 3 parameters, is "rwx". R-Readable, W-writable, X-Executable.

The first group is "permissions for the file owner", the second group is "permissions for the same user group", and the third group is "permissions for other non-user groups"

Modify file Permissions:

R-4, W-2, x-1 777 is the case that three groups are rwx.

Linux file attributes and operations on files

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.