[state-Embedded notes] [004] [Linux Quick Experience]

Source: Internet
Author: User

Linux file system

Bin directory: Executable program

Boot directory: Files related to Linux startup

Dev directory: Devices are stored as files

ETC Directory: Configuration file

Home directory: User files

LIB Directory: library-related files

Root directory: Root user files

Sbin directory: Binary executable file

TMP Directory: Temp file

Working mode

Switch to character mode init3 switch to graphical mode init5

Important hotkeys

[Tab] Auto-completing

[Ctrl]+c terminating a running program

[Ctrl]+d Exit Character interface

User

User information saved in/etc/passwd

Root:x:0:0:root:/root:/bin/bash

User name: Password: uid:groupid: User's full name: Owner directory: Command parser for user execution commands

Uid:root user occupies 0, system user occupies 1-499, average user occupies 500-60000

User groups

There can be multiple users in a group, one user can belong to a different group

User group information is saved in/etc/group root:x:0: Group name: Group Password: GroupID: Member in Group

File properties

To view file properties using the LL command

Drwxr-xr-x. 2 root root 4096 October 12 10:16 Desktop

1. File access rights:

1. File type (1-bit)-Indicates that normal file D represents a catalog file

2. File owner access rights (3-bit)

3. User access rights (3-bit) for the group to which the file belongs

4. Other User access rights (3-bit) R: Readable w: writable x: Executable

2. Number of files

3. Owner of the file

4. Group to which the file belongs

5. File Size (byte)

6. File creation time

7. File name

[state-Embedded notes] [004] [Linux Quick Experience]

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.