Common startup sequence of linux scripts

Source: Internet
Author: User
The common startup sequence of linux system scripts-general Linux technology-Linux programming and kernel information. For details, refer to the following section. The following startup sequence is for reference only because the variables are defined differently.

Start the script in the Redhat Redflag centos fc linux System

Successively:
Step 1: Start vmlinuz through/boot/vm
Step 2: init/etc/inittab
Step 3: Start the script and open the terminal
Rc. sysinit
Rc. d (script in it)
Rc. local
Step 4: Start the login logon Interface
Step 5: Execute the sh script sequence During User Logon: It will be fully executed during each logon.
/Etc/profile. d/file
/Etc/profile
/Etc/bashrc
/Root/. bashrc
/Root/. bash_profile

In Suse Linux (sles server or Desktop 10)

Step 1: Start vmlinuz through/boot/vm
Step 2: init/etc/inittab
Step 3: Start the corresponding script and open the terminal/etc/init. d/boot, which includes:
./Etc/rc. status
./Etc/sysconfig/boot
./Etc/init. d/boot. d
./Etc/init. d/boot. local
Rc X. d (script in it)
Step 4: Start the login logon Interface
Step 5: Execute the sh script sequence During User Logon: It will be fully executed during each logon.
/Etc/profile. d/file
/Etc/profile
/Root/. bashrc
/Root/. profile
Successively:
Step 1: Start vmlinuz through/boot/vm
Step 2: init/etc/inittab
Step 3: Start the script and open the terminal
Rc. sysinit
Rc. d (script in it)
Rc. local
Step 4: Start the login logon Interface
Step 5: Execute the sh script sequence During User Logon: It will be fully executed during each logon.
/Etc/profile. d/file
/Etc/profile
/Etc/bashrc
/Root/. bashrc
/Root/. bash_profile

In Suse Linux (sles server or Desktop 10)

Step 1: Start vmlinuz through/boot/vm
Step 2: init/etc/inittab
Step 3: Start the corresponding script and open the terminal/etc/init. d/boot, which includes:
./Etc/rc. status
./Etc/sysconfig/boot
./Etc/init. d/boot. d
./Etc/init. d/boot. local
Rc X. d (script in it)
Step 4: Start the login logon Interface
Step 5: Execute the sh script sequence During User Logon: It will be fully executed during each logon.
/Etc/profile. d/file
/Etc/profile
/Root/. bashrc
/Root/. profile
Successively:
Step 1: Start vmlinuz through/boot/vm
Step 2: init/etc/inittab
Step 3: Start the script and open the terminal
Rc. sysinit
Rc. d (script in it)
Rc. local
Step 4: Start the login logon Interface
Step 5: Execute the sh script sequence During User Logon: It will be fully executed during each logon.
/Etc/profile. d/file
/Etc/profile
/Etc/bashrc
/Root/. bashrc
/Root/. bash_profile

In Suse Linux (sles server or Desktop 10)

Step 1: Start vmlinuz through/boot/vm
Step 2: init/etc/inittab
Step 3: Start the corresponding script and open the terminal/etc/init. d/boot, which includes:
./Etc/rc. status
./Etc/sysconfig/boot
./Etc/init. d/boot. d
./Etc/init. d/boot. local
Rc X. d (script in it)
Step 4: Start the login logon Interface
Step 5: Execute the sh script sequence During User Logon: It will be fully executed during each logon.
/Etc/profile. d/file
/Etc/profile
/Root/. bashrc
/Root/. profile

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.