answersLogoWhite

0


Best Answer

Layers of UNIX Operation System along with an example to illustrate the interaction between shell and Kernel.

The UNIX operating system is made up of three parts: the kernel, the shell and the programs.

The kernel

The kernel of UNIX 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

The shell acts as an interface between the user and the kernel. 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 ($ on our systems).

The programs

A program is refereed to as a process while the kernel is running it. The Kernel can run the same shell program(or any other program) simultaneously for many users on a Unix System, and each running copy of the program is a separate process. The Shell is also a program that the UNIX Kernel runs for the user.

As an illustration of the way that the shell and the kernel work together, suppose a user types rm myfile(which has the effect of removing the file myfile). The shell searches the filestore for the file containing the program rm, and then requests the kernel, through system calls, to execute the program rm on myfile. When the process rm myfile has finished running, the shell then returns the UNIX prompt $ to the user, indicating that it is waiting for further commands.

- Submitted by SRK

Student of NIIT

Contact No. : +91-9534330837

email: shoaibrazakhan@gmail.com

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Explain different layers of UNIX operating system Also explain interaction between shell and kernel using any suitable command?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is an operating system Explain different components of the operating system in detail?

explain the different components of operating system in details


Explain the different functions of an operating system and discuss some ways that operating systems can differ from one another?

discuss the difference function of an operating system


Explain listing process with suitable example and Diagram?

1 Explain listing process with suitable example & Diagram


Explain in briefly on the classification of operation of operating system?

1. What are the two kinds of installation of an operating system? Explain Briefly.


Explain the types of operating system in detail?

The different types of operating systems are 1) DOS 2)Windows 3)ubuntu 4)Linux 5)unix


How can you explain process hierarchy in connection with operating systems?

what are hierachies are used for process in operating systems


Explain network operating system?

An operating system which is run on server but is assessed/interacted with by a terminal.


What does chemistry seek to explain?

Chemistry explain the chemical composition and structure of materials, the interaction of substances and produce new materials.


What is the theory used to explain the three states of matter?

Inter molecular interaction.


Which wave interaction explain why sound waves can be heard around corners?

reflection


Explain all types of operating system with diagram?

There are basically four types of operating systems. They include Batch Operating System, Multiprogramming Operating System, Network Operating System and Distributed Operating System.


What do you mean by recursive function explain with suitable example?

Type your answer here...