Crontab-scheduled task command in Linux

Source: Internet
Author: User
Firmware (CMOS/BIOS) post power-on self-check-& amp; agrave; bootstrap loader (GRUB) (load Kernel) & amp; agrave; load Kernel (driver hardware) & amp; agrave; start process init & amp; agrave; read the first stage of the execution configuration file/etc/inittab: Start of BIOS

 

Firmware (CMOS/BIOS) post power-on self-check-à bootstrap loader (GRUB) (load Kernel) à load Kernel (driver hardware) à start process init à read execution configuration file/etc/inittab

 

Stage 1: BIOS startup

 

1. after pressing the power supply, execute-power-on self-check.

 

Firmware-programs between software and hardware

 

Detect cpu, memory, video card, keyboard, etc.

 

Phase 2: GRUB boot guide phase

 

2. after self-check is passed, execute the self-lifting program

 

GRUB load the kernel self-starting Program

 

Read the/boot/grub. conf file and display the startup menu.

 

Stage 3: kernel stage

 

3. kernel

 

Run kernel startup parameters

 

Driver hardware

 

Running level (7 types)

 

Ü Halt shutdown

 

Ü Single user mode (no graphical interface, only root users can log on)

 

Ü Multiuser does not share nfs files.

 

Ü Full character interface multi-user interface

 

Ü Unsed custom

 

Ü Xll graphical multi-user mode

 

Ü Reboot restart

 

Id: 5: initdefault

 

# Runlevel view running level

 

# Init [0123456Ss] run-level switch

 

Stage 4: initialize sys V init

 

Start process init ----- Read configuration file

 

Grep command

 

Grep-v '^ #'/etc/inittab | more

 

Extract valid rows

 

Inittab file analysis

 

Id: run-levels: action "process

 

Id: identifier, generally two digits or letters

 

Run-level: specifies the running level. you can specify multiple

 

Action: specifies the running status

 

Process: specifies the script/command to run.

 

Firmware ------ bootloader --- kernel --- init ---/etc/inittab --- initdefault ----/etc/rc. d/rc. sysinit ---/etc/rc. d/rc ----/etc/rc. d/rcN. d N = 0-6 ----- username password

 

From one-meter sunshine for IT

Related Article

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.