difference between a kernel and shell

Answer

A shell is a command interpreted, way to communicate with the operating system and kernel using command line.

Consider what would happen if we have only kernel and no shell ?. We would have device with OS but there is no method to use it. We need to have interface between OS and human. That's shell's purpose

Kernel is a low level program interfacing with the hardware in privileged mode. It is essential part of system. Any request from shell are processed by kernel.

It is impossible has shell without kernel. Without kernel we can not execute commands.

Kernel is the lowest level program running on computers. Kernel does task scheduling, handles with filesystems, I/O handling, memory management.

Was this information helpful to you? You have the power to keep it alive.
Each donated € will be spent on running and expanding this page about UNIX Shell.