Linux file directory structure
-
- /bin: Store common Commands under Directory
- /boot: Store Linux boot core files, connection files and images
- /dev: storage of external devices
- /etc: the configuration files and subdirectories required by the system administrator
- /home: Per User Directory
- /lib: Dynamic connection Shared Library, Windows-like DLL file
- /lost+found: General empty directory, non-normal shutdown to store some files
- /media: Identify device mount the directory (USB drive, optical drive)
- /OPT: Installing the Database
10./proc: Storing stored process and system Information
11./root: System Administrator Directory
12./sys: Hardware driver information
13./tmp: Temp File
14./usr/bin: Storing applications
15./usr/sbin: Super User Advanced programs and Systems management program
16./USR/SRC: Kernel source code
17./var: System default Journaling
18./mnt; temporarily mount a file
File type
- Ordinary file "-"
- Catalog File "D"
- Link file "L"
- Device file "B"
The first character recognition can be viewed with ls-l
File follow-up name
- GZ Compressed Package
- Zip compressed file
- Tar package file
4.RPM Packages
5.so Library file
6..C C source program code file
Link file
Ln-s source file destination file soft Connect
ln source file destination file hard link
Difference size Delete source file
Hard link Large readable
Soft connection small No hair read
20180530
Linux file directory structure and file type