All documents
FHS Standard directory structure
Tree-shaped structure
/bin binary files store commands that ordinary users can use
/sbin only commands that the root user can use
/root Root User's home directory
Parent directory of home directory for a normal user
/dev Device directory in which to store devices files
/etc Store configuration file. conf. cfg. CF
/proc virtual file system holds all processes (PID) and maps the current state of the kernel
Cat/proc/meminfo view memory information, or free
Cat/proc/cpuinfo View CPU information, or LSCPU
/sys Virtual File system
/media Graphics Mount Directory
/misc Mount Related Directory AutoFS
/MNT Manual Mount Directory
/lib 32-bit library file
/LIB64 64-bit library file
/usr default software installation directory/usr/local
/var some frequently changing files Ftp/var/ftp/pub Publishing website personal mailbox log
/OPT third-party software installation directory
/tmp Storing temporary files
File location switch
PWD Displays the current work path (address bar)
CD switch directory (open folder)
CD Switch to home directory
CD/ETC/YUM.REPOS.D//Switch to/ETC/YUM.REPOS.D
CD-//switch to the last switched directory (the Back button on the TV remote)
Cd.. Switch to the parent directory of the current directory
[[Email protected] ~]# CD/
[[Email protected]/]# CD
[Email protected] ~]# cd/etc/yum.repos.d/
[Email protected] yum.repos.d]# CD. /.. Switch to the previous level of the previous level directory
Linux everything File