Questions and Answers On Kernel and Shell in Operating Systems
Questions and Answers On Kernel and Shell in Operating Systems
Operating Systems
Here is a diagram that gives you a better view about what Kernel is in an Operating System
OS Kernel
Let's take another picture of the Kernel in Operating system to clear this concept in our
minds. In the second image below, the kernel lies in between the application and the
hardwares like CPU, Memory and Devices and let them interact with the applications
installed. Thus, it’s behaving like a interaction level for the other two.
Kernel in OS
After clearing the introduction of the kernel in operating system. Let's find the types. There
are following types of kernels developed-
Monolithic Kernel
Microlithic Kernel
Hybrid or Modular Kernel
Exo Kernel
Nano Kernel
Memory Management
Process Management
Disk and File System Management
Networking
Security
Graphical User Interface (GUI)
Device Driver Management
Note: To know more about "Operating System Design/Kernel Architecture" read Operating
System Design/Kernel Architecture
In Micro-Kernel, very minimal support for the process management goes into the kernel. The
micro-kernel approach consists of defining a simple abstraction over the hardware, with a set
of primitives or system to implement minimal OS services such as address
space management, thread management, and inter-process communication. All other services,
including those normally provided by the kernel such as networking, are implemented in
user-space programs referred to as servers.
OS Shell
Q7. What are the different types of shells available?
Answer: Some most popular commercial shells are:-
Korn shell
Bourne Shell
C shell
POSIX shell
b. Command aliasing
Gives an alias name to a command or phrase. When the shell encounters an alias on the
command line or in a shell script, it substitutes the text to which the alias refers.
c. Command history
Records the commands you enter in a history file. You can use this file to easily access,
modify, and reissue any listed command.