Important/Common directory descriptions that Linux ops people need to know

Source: Internet
Author: User

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



This article is from "Linux rookie" blog, please be sure to keep this source http://asura1992.blog.51cto.com/8159058/1675856

Important/Common directory descriptions that Linux ops people need to know

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.