编程知识 cdmana.com

Simple Linux directory

/ root directory
├── bin(binaries) Binary executable command
├── sbin(super user binaries) Store binary executables , Only root Ability to visit , Super management order ,
├── dev(devices) Equipment special documents
├── lib(library) Standard programming library , Also called dynamic link sharing library , Works in a similar way windows Inside .dll file
├── tmp(temporary) Public temporary file storage point
├── etc(etcetera) System management and configuration files
│ ├── rc.d Startup configuration files and scripts
│ ├── bashrc|bash.bashrc Custom alias
│ ├── hosts hosts file
│ ├── profile You can configure the installation command as a system command
│ ├── init.d Management of system services ( Start and stop ) Script
│ ├── dns-clean start eliminate dns: modify hosts Post operation
│ ├── networking restart Restart the network : modify hosts Post operation
├── home The base point of the user's home directory , Such as user user The home directory of /home/user, It can be used ~user Express
├── root Home directory of system administrator
├── snap ubunut software package
├── mnt(mount) The system provides this directory for users to temporarily mount other file systems
├── lost+found This directory is usually empty , The system shut down abnormally and left “ homeless ” The file of
├── proc Virtual directory , Is a mapping of system memory . You can directly access this directory to get system information .
│ ├── cpuinfo cat /proc/cpuinfo
│ ├── meminfo cat /proc/meminfo
├── var(variable) Files used to store data that needs to be changed at run time , Overflow area of some large files , For example, log files of various services
├── usr(unix shared resources) The largest catalog , Almost all the applications and files to be used are in this directory
│ ├── local User level program directory
│ ├── bin Global executable command , Custom commands require chmod +x command

版权声明
本文为[Gentle and gentle]所创,转载请带上原文链接,感谢
https://cdmana.com/2020/12/20201224170632565k.html

Scroll to Top