The kernel is the hub of the operating system: it allocates
time and memory to programs and handles the filestore and
communications in response to system calls.
The shell acts as an interface between the user and the
kernel. When a user logs in, the login program checks the
username and password, and then starts another program
called the shell. The shell is a command line interpreter
(CLI). It interprets the commands the user types in and
arranges for them to be carried out. The commands are
themselves programs: when they terminate, the shell gives
the user another prompt.
kernel basically act as a interface to the hardware. it
gives commands in low level language to the hardware for
intereact it with our OS
while shell is a command line interpreter. it interprete
the command written in HLL to LLL and send it to the kernel
to perform it. So in this way we can say that kernel is
heart of the OS while shell is mind.
1. core of the UNIX
2. provides file system, CPU scheduling, memory management, and other functions of OS through system calls.
1. a command interpreter.
2. called a shell because it surrounds the kernel.
kernel is a core operating system.it provides set of service
that can be used by the programmers.and the major function
of kernel are to manage computer memory to control access to
the computer, to maintain the file system, to handle
interrupts to handle errors,to perform inputs and output
service (which allows computers to interacts with
terminals,storage device and printers)and to allocates the
resources of the computers(such as cpu or input/output
device among users)
while the shell reads your commands and interpreters them as
requested to execute a program or programs which it then
arranges to have carried out, as the shell plays their
role.so it is called a command interpreters, the shell is a
programming language. as the programming language , it
permits you to control how and when commands are carried out.