Menu

Kernel

0 Comment

Kernel Linux Kernel is a central program in a computer’s operating system. A contrast between Kernel and Shell which is the general outermost components of Shell is an operating system which interacts more with the user commands. Kernel interacts with the shell including all the computer hardware components, such as the processor, memory and computer disk drives.
In Linux, commands and program execution is by a command interpreter which is represented by a shell. Kernel components are designed for specific operating systems but the main components of a Kernel is composed of four basic elements which include. a scheduler which functions to sharing and processing time of various computer processes. a supervisor which grants permission to every process as it is scheduled. interrupt handler for handling of requests from computer hard disk components and memory manager for allocating system space Kernel’s services.
Most five popular distributions of Kernel Linux include. Ubuntu, Fedora, OpenSUSE, Debian and Linux Mint. Subsequently, there are numerous shell distributions that are available for kernel, among this include, sh, bash and tcsh. (Bovet &amp. Cesati, 2005)
For every command that has been entered in the shell, the fork mechanism searches the computer’s directories using the search path within the computer’s PATH location, after which it is loaded and executed. For fast command entry, bash shell has three features, history, filename completion and aliases. The alias feature shortens lengthy commands, for instance
% alias x="grep ^ABC data*.txt | cut -d^A -f2, 4, 6, 7 | less"
% x
% x
When using several commands in bash, it is essential that alias definitions be made permanent so that the user’s source file will be executed by all login shells. This requires one to replace alias definitions in $HOME/.bash_alias with $HOME/.bash_profile:
Reference
Bovet, D. P., &amp. Cesati, M. (2005). Understanding the Linux Kernel (3 ed.). (M. Cesatí, Ed.) Carlifonia: OReilly Media, Inc.