Linux system management and server configuration are based on the overview of the Linux 2.11 file system

learning target:

: Understanding the linux file system


Learning Content:

prompt:

  1. Basic concepts of linux file system
  2. Linux device formatting and mounting process
  3. File system type
  4. linux directory structure
  5. Introduction to commonly used directories
  6. Common commands

Learning output:

content:

Basic concepts of inux file system

File system: The software responsible for managing and storing file information in the operating system. The storage method and file index method are specified.
Three parts: the data structure required by the file management software to implement file management for the managed files

File system adjustment:

  1. Create a partition fdisk on the hard disk
  2. Writing to the file system on the partition is similar to formatting mkfs
  3. Mount the file system to the current system. mount is automatically mounted under /etc/fstab
  4. Run out of umount

File system type

xfs centos7 default file type.
swap The swap partition is used to make up for the lack of physical memory.
nfs network file system
iso9660 CD


Introduction to commonly used directories

bin: commonly used commands
dev: device file storage directory
etc. storage configuration file
etc/init.d storage system or server startup script
usr storage program directory

Absolute path: starting from the root directory is equivalent: starting from the current directory

Common commands

mkdir
-m set permissions
-p recursively
-v display directory information

ls -a View all hidden files

cp -r copy directory

rm
-f force deletion of files or directories
-r delete directories

rmdir delete directory tree

find Find Find File Directory Find Condition Option Find Condition Setting

Guess you like

Origin blog.csdn.net/weixin_45821358/article/details/109555685