[Bird Brother Linux Video tutorial finishing]02_03_linux root file system detailed

Source: Internet
Author: User

First, the root file system detailed:

Fhs:linux

/boot: System-initiated related files, such as kernel, INITRD, and Grub (bootloader)

/dev: Device files

Block devices: Random access

Character device: Linear access, by character.

Device number: Main device number (major) and secondary device number (minor)

/etc: Configuration file

/home directory, home directory for each user, usually default to/home/username

/root:

/lib: library file

/lib/modules: Kernel module files

Dynamic library:. dll. So (Share object)

Static Library:. A

/media: mount point directory, mobile device

/mount: mount point directory, additional temporary file system

/OPT: Optional directory, installation directory for third-party programs

/proc: Pseudo file system, kernel mapping file

/sys: Pseudo file system, property mapping file related to hardware device

/tmp: Temp file/var/tmp

/var: a variable file

/bin: Executable file, user command

/sbin: Managing Commands

/usr:share read-only Store Global shared read-only files

/usr/bin

/usr/sbin

/usr/lib

/usr/local:

/usr/local/bin

/usr/local/sbin

/usr/local/lib


Second, use the operating system involved in the operation:

File Management

Touch: Modifies the timestamp of a file and creates an empty file when the file does not exist

-a:access

-m:modifiy

-T:

C:

Nano: Text editor, creating files

RM: Delete file Rm-rf can delete directory

-I: Friendly tips

-F: Do not prompt

-R: Recursive

Stat: Displays the status information for a file or file system usage: Stat FILENAME

Directory Management

Ls:

Cd:

Pwd:

mkdir Creating an empty directory

-p:mkdir-p/root/m/n/q

-V: More information

Mkdir-pv/mnt/test/x/m,y

Mkdir-pv/mnt/test/{x/m,y}-bash advanced features, command line expansion.

Tree: Viewing the directory tree

RmDir: (remove dirctory) only empty directories can be deleted

Execute (Run) program

Device Management

Software Management

Process Management

Network management

This article is from the "Linux Blind Advanced Road" blog, please be sure to keep this source http://blindbird.blog.51cto.com/12338383/1878570

[Bird Brother Linux Video tutorial finishing]02_03_linux root file system detailed

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.