Linux file structure and user group concepts.

Source: Internet
Author: User

Reference: http://www.cnblogs.com/xiaoluo501395377/archive/2013/04/01/2992642.html

The file structure is a single-tree structure. There is only one root directory. different from the win system . Specific references articles

file Attributes control permissions: R Read permission, W writable permission, x executable permission. Each permission is represented by a number: r==4 (+), w==2 (010), X==1 (001)

Example:-rwxrw-r--1 501 502 Test.java

[-] [RWX] [rw-] [r--] divided into four segments

The first paragraph represents the file type:-file, D folder, L link

The permission of the second paragraph owner.

Group permissions for the third segment owner.

The fourth paragraph outside the group permission.

Note: Thereis no limit to root privileges .

1 501 502 Test.java each field means:

1: Number of files represented. The file is 1, and the folder is the number of child files.

501: User ID (Uniqueness)

502: Group ID of the user (uniqueness)

100: Storage size

Mar: Creation Time

Test.java: File name

Commands for file operations: reference http://www.cnblogs.com/zheng39562/p/4167075.html

Linux file structure and user group concepts.

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.