Linux Operations Learning notes-Directory Knowledge points Summary

Source: Internet
Author: User

Summary of directory knowledge Points:

Note:

1. Create a/server/scripts directory to hold the script (command: Mkdir-p/server/scripts)

2. When installing the software, the installation path is unified to/usr/local/software name-version number

3. After installing the software, you need to do a soft link (ln-s/usr/local/software Name-version number//usr/local/software name)

Important Sub-directories

File role

/etc/sysconfig/network-scripts/ifcfg-eth0

NIC Configuration

/etc/resolv.conf

Local DNS configuration

/etc/hosts

Local DNS resolution, IP and domain name corresponding parsing table

/etc/sysconfig/network

Configure host Name

/etc/fstab

Implement a file to mount the file system to be mounted

/etc/crontab,/var/spool/cron/root

Timed task profiles, each user generates an auto-generated crontab file, typically located in the/var/spool/cron directory.

Note that ordinary users generally do not have access to/var/spool/cron

/etc/rc.local

file that holds the Boot program command
Chkconfig a service that is commonly used to manage YUM/RPM-installed programs boot from
own development of the program, used to put the start command into the/etc/rc.local, to enable the start of these programs, Linux power on the landing before the rc.local will be executed once

/etc/inittab

Set the boot file settings for the INIT process to set the system to the operating level and load related levels when the system starts

/etc/exports

Setting the configuration file for NFS Network File system

/etc/init.d

The default launcher directory for the software installed by the Yum or RPM tool

/etc/profile

Configuration file for the Global environment variable to be permanently active

/etc/profile.d

Load system login A directory, command or file exists independently

/etc/issue

Set up prompt before landing

/etc/motd

Set up prompt after login

/etc/redhat-release

View version number

/usr/local

Used to store users ' own installed programs

/var/log

Various System log storage location

/var/log/messages

System Information The default log file is very important.

/var/log/secure

Record log in system access information file, automatic polling by week

/proc/version

Kernel version

/proc/sys/kernel

System kernel functions

/proc/cpuinfo

Information about the processor

/proc/meminfo

System Memory Information Free-m

/proc/loadavg

System load Average information

/proc/mounts

Device Mount Information df-h

Linux Operations Learning notes-Directory Knowledge points Summary

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.