As Every laptop/ Server have hardware like hard-disk, RAM, CPU etc. We need operating system to work with computer. Linux operating is very popular opensource operating system. It has 2 pars Kernel and Shell. when we give command to Linux we get the output of the command how this works we need to understand the architecture.
We give command to Linux system using shell. There are different shell available (we will discuss in detail). Shell is program to hide kernel, it create layers that when user give the predefined Linux command it interact with Kernel.
Kernel interact with hardware and give the output. Apart for running our command. Kernel is in-charge of creating and destroying process. It manages the memory resource for efficient use. It manages hardware, file-system etc.