Directory Name |
Role |
Permissions |
Description |
/bin/ |
directory where system commands are stored |
All Users |
It can also be executed in command-user mode, which is stored under/bin/. |
/sbin/ |
Save commands related to System environment settings |
Root |
|
/usr/bin/ |
directory where system commands are stored |
All Users |
These commands are not related to system boot and cannot be performed in single-user mode |
/usr/sbin/ |
Storing unnecessary system administration commands with the file system |
Root |
|
/boot/ |
System startup directory, save system startup related files |
|
such as kernel files and boot loader files (grub), etc. |
/dev/ |
Device File Save location |
|
Where to save the hardware device files |
/etc/ |
Configuration File Save location |
|
A configuration file for a service that uses the default installation method within the system, such as account password, startup script, etc. |
/home/ |
Home directory for ordinary users |
|
|
/lib/ |
function library save location for system call |
|
|
/lost+found/ |
Backup Recovery Directory |
|
During system startup, the Fsck tool checks here and repairs corrupted files |
/media/ |
Mount Directory, Mount Media devices |
|
Floppy disk, CD |
/mnt/ |
Mount Directory, Mount Peripherals |
|
USB drive, removable hard disk, other operating system partitions |
/misc/ |
Mount Directory, Mount NFS service |
|
|
/opt/ |
Third-party installed software save location |
|
|
/proc/ |
Virtual file system |
|
Save in memory, main save system kernel, process, external device Status and network status lights, |
/sys/ |
Virtual file system |
|
Save in memory, mainly save kernel related information |
/root/ |
Home directory for super users |
|
|
/srv/ |
Service Data Catalog |
|
After the system service is enabled, you can save the required data in this directory |
/tmp/ |
Temp directory |
All Users |
|
/usr/ |
System Software Resources Directory |
|
Most of the software installed in the system is stored here |
/var/ |
Dynamic Data Save location |
|
Mainly save the cache, log and files generated by the software |