Important and Directory |
|
/bin |
Common binary command directories, such as Ls,cp,mkdir |
/boot |
Linux kernel boot System program required files directory |
/dev |
Device files directory, such as sound card, disk |
/etc |
Common system and binary installation package configuration file default path and service startup command directory |
/home |
Normal user's home directory default storage directory |
/lib |
Crying file storage Directory |
/mnt |
Usually used for temporary hanging on the storage device mount directory, such as Cdrom,u disk, etc.
|
/lost+found |
The system has an accident that will produce some file fragments here |
/opt |
Indicates the optional meaning, some packages will be installed here, that is, custom packages, our own compiled packages, can be installed in this directory, through the source package installed software, you can pass the./configure--prefix/opt directory, |
/proc |
Operating system runtime, process information and kernel information (such as CPU, disk partition, memory information, etc.) stored here,/proc directory masquerading file system proc mount directory, Proc is not the real file system
|
/root |
Linux Super User, root home directory |
/sbin |
Most of the commands that are designed for system administration are stored, which is the executable command location of the superuser root |
/tmp |
Temp file directory, |
/usr |
This is the directory of system storage programs, such as commands, help files, etc. |
|
|
Important Sub-directories |
|
/etc/sysconfig/network-scripts/ifcfg-eth0 |
Configure Network address and GW |
/etc/resolv.conf |
Configure the native DNS |
/etc/hosts |
Set the user IP and name of the corresponding table, equivalent to the local LAN DNS |
/etc/sysconfig/network |
Modify the machine name and network card startup configuration |
/etc/fstab
|
Record the file system to mount on boot |
|
|
|
|
/etc/inittab |
Set the init process to set the system to what kind of runlevel and load the related boot file when the system starts |
/etc/exports |
Setting the configuration file path for NFS systems |
/etc/init.d |
This directory is used to hold the system or server scripts that are started in the System V mode, which is common in systems that are started or initialized by the mode V, such as Centos,redhat |
/etc/xinit.d |
If the server is running through XINETD mode, its script will be placed in this directory, some systems do not have this directory |
/etc/profile |
System Global environment variable configuration path |
|
|
|
|
|
|
/etc/passwd |
Account information |
/etc/sudoers |
Configuration files that can be sudo commands |
/etc/syslog.conf |
Log settings file |
/etc/group |
Set the user's ancestral name and related information |
|
|
/var |
|
/var/log/message |
System Information default log file, very important |
/var/log/secure |
Records log in system access information files, weekly automatic cycle, for example, POP3,SSH,TELNET,FTP, etc. will be recorded in this |
|
|
/proc |
|
/proc/cpuinfo |
Information about the processor, such as type, manufacturer, model, and performance |
/proc/interrupts |
The terminal being used, and the number of terminals |
/proc/loadavg |
System load information, uptime results |