An operating system is a program used as an interface between the computer user and the computer's resources. The purpose of an operating system is to provide an environment in which a user can run programs. It consists of several major components.



Hardware

The hardware level consists of memory, the processor, the arithmetic-logic unit (ALU), various mass storage devices (hard drives, SD cards, etc.), Input/Output (I/O) devices, peripheral devices, and other physical components.


Kernel

The kernel is the central component of most computer operating systems — it acts as a bridge between applications and the data processing performed at the hardware level. The kernel's responsibilities include managing system resources (handling communication between hardware and software components). As the core component of an operating system, the kernel provides the lowest-level abstraction layer for resources — particularly processors and I/O devices — that applications need to control in order to perform their functions. It typically makes these facilities available to processes through inter-process communication mechanisms and system calls.

CLI shell



GUI shell


Shell

The shell is a piece of software that provides users with an interface to the operating system and grants access to kernel services. The name "shell" comes from the fact that it serves as the outer layer between the user and the inner workings of the operating system (the kernel).

OS shells are most commonly encountered in two forms — command-line and graphical interfaces. A command-line shell provides a Command-Line Interface (CLI), while graphical shells provide a Graphical User Interface (GUI). In either category, the primary purpose of a shell is to invoke or "launch" another program. However, shells often have additional capabilities such as viewing directory contents, reading files, and more.

Source: http://cis2.oc.ctc.edu/oc_apps/Westlund/xbook/xbook.php?unit=04&proc=book#s9

#level2 #pentest11 #hardware #kernel #shell #gui #cli #IO