learning target:
: Understanding the linux file system
Learning Content:
prompt:
- Basic concepts of linux file system
- Linux device formatting and mounting process
- File system type
- linux directory structure
- Introduction to commonly used directories
- 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:
- Create a partition fdisk on the hard disk
- Writing to the file system on the partition is similar to formatting mkfs
- Mount the file system to the current system. mount is automatically mounted under /etc/fstab
- 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