SlideShare a Scribd company logo
BENGAL INSTITUTE OF TECHNOLOGY AND MANAGEMENT
NAME – SAYANTAN CHAKRABARATY
SUBJECT CODE –BCAC-601
TOPIC –UNIX AND SHELL
UNIVERSITY ROLL NO – 32901220004
YEAR – 3rd
SEMESTER – 6th
YEAR – 2022-2023
UNIX OPERATING SYSTEM
UNIX is a powerful Operating System initially developed by Ken
Thompson, Dennis Ritchie at AT&T Bell laboratories in 1970. It is
prevalent among scientific, engineering, and academic institutions
due to its most appreciative features like multitasking,
flexibility, and many more. In UNIX, the file system is a
hierarchical structure of files and directories where users can
store and retrieve information using the files.
FEATURES OF UNIX OPERATING SYSTEM
Let's discuss the features of UNIX OS one by one in detail.
• Multitasking: A UNIX operating system is a multitasking operating system that allows you to initiate more than one task from the same terminal so that one task is
performed as a foreground and the other task as a background process. Multi-user: UNIX operating system supports more than one user to access computer resources like
main memory, hard disk, tape drives, etc. Multiple users can log on to the system from different terminals and run different jobs that share the resources of a command
terminal. It deals with the principle of time-sharing. Time-sharing is done by a scheduler that divides the CPU time into several segments also called a time slice, and each
segment is assigned to each user on a scheduled basis. This time slice is tiny. When this time is expired, it passes control to the following user on the system. Each user
executes their set of instructions within their time slice.
• Portability: This feature makes the UNIX work on different machines and platforms with the easy transfer of code to any computer system. Since a significant portion of UNIX
is written in C language, and only a tiny portion is coded in assembly language for specific hardware.
• File Security and Protection: Being a multi-user system, UNIX makes special consideration for file and system security. UNIX has different levels of security using assigning
username and password to individual users ensuring the authentication, at the level providing file access permission viz. read, write and execute and lastly file encryption
to change the file into an unreadable format.
• Command Structure: UNIX commands are easy to understand and simple to use. Example: "cp", mv etc. While working in the UNIX environment, the UNIX commands are case-
sensitive and are entered in lower case.
• UNIX Tools and Utilities: UNIX system provides various types of tools and utilities facilities such as UNIX grep, sed and awk, etc. Some of the general-purpose tools are
compilers, interpreters, network applications, etc. It also includes various server programs which provide remote and administration services.
THE STRUCTURE OF UNIX OS LAYERS ARE AS FOLLOWS:
While working with UNIX OS, several layers of this system provide interaction between the pc hardware
and the user. Following is the description of each and every layer structure in UNIX system: Layer-1:
Hardware - This layer of UNIX consists of all hardware-related information in the UNIX environment.
Layer-2: Kernel - The core of the operating system that's liable for maintaining the full functionality is
named the kernel. The kernel of UNIX runs on the particular machine hardware and interacts with the
hardware eff
It also works as a device manager and performs valuable functions for the processes which require access to the peripheral devices connected
to the computer. The kernel controls these devices through device drivers. The kernel also manages the memory. Processes are executed
programs that have owner's humans or systems who initiate their execution. The system must provide all processes with access to an adequate
amount of memory, and a few processes require a lot of it. To make effective use of main memory and to allocate a sufficient amount of
memory to every process. It uses essential techniques like paging, swapping, and virtual storage.
Layer-3: The Shell
The Shell is an interpreter that interprets the command submitted by the user at the terminal, and calls the program you
simply want. It also keeps a history of the list of the commands you have typed in. If you need to repeat a command you
typed it, use the cursor keys to scroll up and down the list or type history for a list of previous commands. There are various
commands like cat, mv, cat, grep, id, wc, and many more.
Types of Shell in UNIX System:
• o Bourne Shell: This Shell is simply called the Shell. It was the first Shell for UNIX OS. It is still the most widely available
Shell on a UNIX system.
• C Shell: The C shell is another popular shell commonly available on a UNIX system. The C shell was developed by the
University of California at Berkeley and removed some of the shortcomings of the Bourne shell.
• o Korn Shell: This Shell was created by David Korn to address the Bourne Shell's user-interaction issues and to deal with
the shortcomings of the C shell's scripting quirks.
Layer-4: Application Programs Layer –
It is the outermost layer that executes the given external applications. UNIX distributions typically come with
several useful applications programs as standard. For Example: emacs editor, StarOffice, xv image viewer, g++
compiler etc.
Linux Utility Commands
date Command The date command is used to display date, time, time zone, and more.
passwd Command The passwd command is used to create and change the password for a user.
CONCLUSION
Numerous shells but all essential to the evolution of the
unix system and the shell
Build off each other
Main building block for all shells in one form or another
is the bourne shell

More Related Content

PPTX
UNIX_module1.pptx
PPT
Introduction to Unix operating system Chapter 1-PPT Mrs.Sowmya Jyothi
PDF
DOC_LM_Chap 1 and 2. document -1 unix.pdf
PDF
UNIX_Module 1.pdf
PPTX
Introduction to unix (1).pptx
DOCX
purnima.docx
DOCX
niyonika.docx
DOCX
khushi.docx
UNIX_module1.pptx
Introduction to Unix operating system Chapter 1-PPT Mrs.Sowmya Jyothi
DOC_LM_Chap 1 and 2. document -1 unix.pdf
UNIX_Module 1.pdf
Introduction to unix (1).pptx
purnima.docx
niyonika.docx
khushi.docx

Similar to Presentation1.pdf (20)

PPT
Spsl unit1
PPTX
CHAPTER 1 INTRODUCTION TO UNIX.pptx
PDF
Bn1025 demo basic unix
PPTX
Introduction to Unix
DOC
Introduction to unix
PDF
Unix shell programming intro-part-1
DOCX
UNIT II-Programming in Linux
PDF
cse-iv-unix-and-shell-programming-10cs44-notes.pdf
DOCX
Unix seminar
PPTX
Unix and shell programming | Unix File System | Unix File Permission | Blocks
PPT
Module1-UNIX architecture; FEATURES OF UNIX OS
PPTX
Unix-Linux Operating Systems and its concepts
PDF
unix-linuxospart1-241207172845-11e147aa.pdf
PDF
3CS LSP UNIT 1-1.pdf
PPTX
Ch1-Unix.pptx
PPTX
linux and shell programming for information.pptx
PPT
LinuxOS-1 (1).ppt
PPTX
Linux Operaring System chapter one Introduction.pptx
PPTX
Unix Operating System
Spsl unit1
CHAPTER 1 INTRODUCTION TO UNIX.pptx
Bn1025 demo basic unix
Introduction to Unix
Introduction to unix
Unix shell programming intro-part-1
UNIT II-Programming in Linux
cse-iv-unix-and-shell-programming-10cs44-notes.pdf
Unix seminar
Unix and shell programming | Unix File System | Unix File Permission | Blocks
Module1-UNIX architecture; FEATURES OF UNIX OS
Unix-Linux Operating Systems and its concepts
unix-linuxospart1-241207172845-11e147aa.pdf
3CS LSP UNIT 1-1.pdf
Ch1-Unix.pptx
linux and shell programming for information.pptx
LinuxOS-1 (1).ppt
Linux Operaring System chapter one Introduction.pptx
Unix Operating System
Ad

Recently uploaded (20)

PPTX
Construction Project Organization Group 2.pptx
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPTX
Fundamentals of Mechanical Engineering.pptx
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PPTX
Geodesy 1.pptx...............................................
PPTX
Fundamentals of safety and accident prevention -final (1).pptx
PDF
III.4.1.2_The_Space_Environment.p pdffdf
PPTX
additive manufacturing of ss316l using mig welding
PDF
Well-logging-methods_new................
PDF
A SYSTEMATIC REVIEW OF APPLICATIONS IN FRAUD DETECTION
PPTX
Safety Seminar civil to be ensured for safe working.
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PDF
737-MAX_SRG.pdf student reference guides
PPTX
UNIT 4 Total Quality Management .pptx
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PPTX
Current and future trends in Computer Vision.pptx
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
Construction Project Organization Group 2.pptx
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
Fundamentals of Mechanical Engineering.pptx
R24 SURVEYING LAB MANUAL for civil enggi
Geodesy 1.pptx...............................................
Fundamentals of safety and accident prevention -final (1).pptx
III.4.1.2_The_Space_Environment.p pdffdf
additive manufacturing of ss316l using mig welding
Well-logging-methods_new................
A SYSTEMATIC REVIEW OF APPLICATIONS IN FRAUD DETECTION
Safety Seminar civil to be ensured for safe working.
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
737-MAX_SRG.pdf student reference guides
UNIT 4 Total Quality Management .pptx
Automation-in-Manufacturing-Chapter-Introduction.pdf
Current and future trends in Computer Vision.pptx
Foundation to blockchain - A guide to Blockchain Tech
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
CYBER-CRIMES AND SECURITY A guide to understanding
Ad

Presentation1.pdf

  • 1. BENGAL INSTITUTE OF TECHNOLOGY AND MANAGEMENT NAME – SAYANTAN CHAKRABARATY SUBJECT CODE –BCAC-601 TOPIC –UNIX AND SHELL UNIVERSITY ROLL NO – 32901220004 YEAR – 3rd SEMESTER – 6th YEAR – 2022-2023
  • 2. UNIX OPERATING SYSTEM UNIX is a powerful Operating System initially developed by Ken Thompson, Dennis Ritchie at AT&T Bell laboratories in 1970. It is prevalent among scientific, engineering, and academic institutions due to its most appreciative features like multitasking, flexibility, and many more. In UNIX, the file system is a hierarchical structure of files and directories where users can store and retrieve information using the files.
  • 3. FEATURES OF UNIX OPERATING SYSTEM Let's discuss the features of UNIX OS one by one in detail. • Multitasking: A UNIX operating system is a multitasking operating system that allows you to initiate more than one task from the same terminal so that one task is performed as a foreground and the other task as a background process. Multi-user: UNIX operating system supports more than one user to access computer resources like main memory, hard disk, tape drives, etc. Multiple users can log on to the system from different terminals and run different jobs that share the resources of a command terminal. It deals with the principle of time-sharing. Time-sharing is done by a scheduler that divides the CPU time into several segments also called a time slice, and each segment is assigned to each user on a scheduled basis. This time slice is tiny. When this time is expired, it passes control to the following user on the system. Each user executes their set of instructions within their time slice. • Portability: This feature makes the UNIX work on different machines and platforms with the easy transfer of code to any computer system. Since a significant portion of UNIX is written in C language, and only a tiny portion is coded in assembly language for specific hardware. • File Security and Protection: Being a multi-user system, UNIX makes special consideration for file and system security. UNIX has different levels of security using assigning username and password to individual users ensuring the authentication, at the level providing file access permission viz. read, write and execute and lastly file encryption to change the file into an unreadable format. • Command Structure: UNIX commands are easy to understand and simple to use. Example: "cp", mv etc. While working in the UNIX environment, the UNIX commands are case- sensitive and are entered in lower case. • UNIX Tools and Utilities: UNIX system provides various types of tools and utilities facilities such as UNIX grep, sed and awk, etc. Some of the general-purpose tools are compilers, interpreters, network applications, etc. It also includes various server programs which provide remote and administration services.
  • 4. THE STRUCTURE OF UNIX OS LAYERS ARE AS FOLLOWS: While working with UNIX OS, several layers of this system provide interaction between the pc hardware and the user. Following is the description of each and every layer structure in UNIX system: Layer-1: Hardware - This layer of UNIX consists of all hardware-related information in the UNIX environment. Layer-2: Kernel - The core of the operating system that's liable for maintaining the full functionality is named the kernel. The kernel of UNIX runs on the particular machine hardware and interacts with the hardware eff It also works as a device manager and performs valuable functions for the processes which require access to the peripheral devices connected to the computer. The kernel controls these devices through device drivers. The kernel also manages the memory. Processes are executed programs that have owner's humans or systems who initiate their execution. The system must provide all processes with access to an adequate amount of memory, and a few processes require a lot of it. To make effective use of main memory and to allocate a sufficient amount of memory to every process. It uses essential techniques like paging, swapping, and virtual storage.
  • 5. Layer-3: The Shell The Shell is an interpreter that interprets the command submitted by the user at the terminal, and calls the program you simply want. It also keeps a history of the list of the commands you have typed in. If you need to repeat a command you typed it, use the cursor keys to scroll up and down the list or type history for a list of previous commands. There are various commands like cat, mv, cat, grep, id, wc, and many more. Types of Shell in UNIX System: • o Bourne Shell: This Shell is simply called the Shell. It was the first Shell for UNIX OS. It is still the most widely available Shell on a UNIX system. • C Shell: The C shell is another popular shell commonly available on a UNIX system. The C shell was developed by the University of California at Berkeley and removed some of the shortcomings of the Bourne shell. • o Korn Shell: This Shell was created by David Korn to address the Bourne Shell's user-interaction issues and to deal with the shortcomings of the C shell's scripting quirks.
  • 6. Layer-4: Application Programs Layer – It is the outermost layer that executes the given external applications. UNIX distributions typically come with several useful applications programs as standard. For Example: emacs editor, StarOffice, xv image viewer, g++ compiler etc. Linux Utility Commands date Command The date command is used to display date, time, time zone, and more. passwd Command The passwd command is used to create and change the password for a user.
  • 7. CONCLUSION Numerous shells but all essential to the evolution of the unix system and the shell Build off each other Main building block for all shells in one form or another is the bourne shell