DEPARTMENT OF INFORMATION SCIENCE AND ENGINEERING
Presentation on:
“ARCHITECTURE OF UNIX SHELL PROGRAMMING”
Submitted By:
ACHYUTHA N
[1JB21IS003]
Under the guidance of
Mr. GOVERDHAN VISHWANATH
Deputy Controller of Examination SJBIT
Academic Year : EVEN SEM (2022-23)
Semester : 4th ‘A’ SEC
Introduction
Unix Architecture
Hardware
CONTENT
Kernel
:
Kernel mode vs user mode
Shell
Utility
INTRODUCTIO
N:
WHAT IS UNIX?
Unix is a multi-user operating system which
allows more than one person to use the computer
resources at a time.
WHY IS UNIX REQUIRED?
It was originally designed as a time-sharing
system to serve several users simultaneous.
There are 4 layers of architecture:-
1. Hardware
2. Kernel
3. Shell
4. Utility
UNIX
ARCHITECT
URE:
HARDWARE
Hardware refers to the external and internal
devices and equipment that enable you to
perform major functions such as input, output,
storage, communication, processing, and more.
Hardware are basically the physical devices.
Example: printer, mouse, ram, keyboard,
CPU etc.
Kernell is the core component of the UNIX shell
programming.
It is where all the functionailites lies.
It is responsible for scheduling running of user
and other processes.
KERNELL
It is responsible for allocating memory.
It is responsible for managing the swapping
between memory and disk.
Its is responsible for moving the data to and
from the peripherals.
SHELL:
There are different types of
Shell is an interpreter program shells. In unix, 2 major types of
that interprets the commands A shell environment allows you shells are;
entered by the user and then to run commands, program and • Bourne Shell :- the default prompt is $
sends the requests to the kernel shell script. character.
to execute those commands. • C Shell :- the default prompt is %
character.
UTILITY:
Utilities in Unix are meant to function well in command pipelines or scripts. They
are not meant to be interacted with to a high degree while performing their tasks.
Utilities are programs that perform various tasks.
As the user interacts with kernel through the shell, different shells are necessary.
THANK YOU