Basic Linux knowledge: Kernel compilation-kernel management overview-general Linux technology-Linux programming and kernel information. For details, see the following.
1. What is the kernel;
Kernel foreign uses kernel. I just flipped through the dictionary. The Chinese meaning of kernel is kernel, core, center, and essence. It is also the meaning of nuts and fruits. Literally speaking, kernel is the center of a thing, and the fruit of a plant is also the kernel and kernel. From this we can infer that the kernel is the center of the operating system.
We know that Linus Torvalds has developed Linux. In fact, it is developed by Linux. According to the official kernel homepage, this kernel is Linux. Other extensions and applications are developed around the kernel. All Linux applications will have direct or indirect contact with the kernel. For example, hardware requires Kernel support and network communication requires Kernel support. file systems require Kernel support more ......
Bluntly, my capabilities are not good. If you want to understand and learn about the operating system, the tutorials I wrote are only basic applications. The theoretical things are not clear in a single word, it is not clear to the application.
Ii. Why should we compile and manage the kernel?
Hardware requires Kernel support. Some hardware support is not compiled into the kernel, which also requires us to re-compile the kernel. The kernel includes not only the driver of the device, but also other content, for example, support for network protocols and firewall ...... for example, the implementation of iptables requires Kernel support for some functions. If the kernel content related to iptables is not compiled, iptables-related functions cannot be implemented;
Iii. commands for managing the kernel module
1. Kernel Modules mounted in the lsmod column;
Lsmod lists the names and sizes of loaded modules in the current system. You can also view/proc/modules. We can also know the loaded modules of the system;
Code:
CODE: [root @ localhost beinan] # lsmod |