Linux system Knowledge-system architecture

Source: Internet
Author: User

Vamei Source: Http://www.cnblogs.com/vamei Welcome reprint, Please also keep this statement. Thank you!

Reference address

Http://www.cnblogs.com/vamei/archive/2012/09/19/2692452.html

Icon

Hardware

Material basis. Including CPU, memory, hard disk, NIC, etc.

Kernel

A computer program that directly manages the hardware. All computer operations are passed through the kernel to the hardware. Including CPU interface, memory interface, hard disk interface, network interface, etc.

System calls

Make the function interface of the kernel into a system call. The system call looks like a C-language function that can be called directly in the program.

Library functions

belong to the application layer, combining system calls into some common functions. Operations such as the allocation of memory are defined as functions such as malloc ().

Shell

belongs to the application layer and is a special application, also known as the command line.

The shell is a command interpreter, such as "Ls-l", which interprets this as "find the LS file in the default path, execute the file, and attach the parameter-l".

The shell acts as a graphical interface before the graphical interface is used.

The shell is programmable and can execute text that conforms to the shell syntax, which is the shell script

Shell down-pass system calls, up and down a variety of applications, at the same time there are many small tools themselves can be used.

UNIX Philosophy: Let each program try to do a small function independently. The shell acts as a "glue" for these small functions, allowing different programs to work together with a clear interface to enhance the functionality of the program.

A shell corresponds to a terminal

Application

is a program. You can invoke system calls, call library functions, and run shell scripts directly.

Can be developed in multiple languages, the most common is C language.

Linux system Knowledge-system architecture

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.