SlideShare a Scribd company logo
1 of 21
Unix Operating
System
• Unix is a
Multi-tasking
Multi-user operating system.
• Many users can be logged into a system simultaneously, each running
many programs.
• The kernel job is to
Separate each process and user
Regulate access to system hardware i.e. memory & I/O devices.
History
• First version was created in Bell labs in 1969
• By KenThompson, Denis Ritchie, Brian Kernighan & Joe Ossanna
• Implemented on PDP-7
• It was given the name UNIX by Brian Kernighan
• 1973 unix was rewritten in C language
• 1980 BSD 4.1 (Berkeley Software Development)
• 1988 AT&T and Sun Microsystems jointly develop SystemV Release 4
(SVR4).This later developed into UnixWare and Solaris 2
• 1991 Linux was originated.
Structure of UNIX
UNIX Architecture
• Kernel:The kernel is the heart of the operating system. It interacts
with hardware and most of the tasks .
• Shell:The shell is the utility that processes your requests.When you
type in a command at your terminal, the shell interprets the
command and calls the program that you want
• Commands and Utilities: There are various command and utilities
which you would use in your day to day activities. cp, mv, cat and
grep.
• Files and Directories: All data in UNIX is organized into files. All files
are organized into directories.These directories are organized into a
tree-like structure called the file system. .
HARDWARE REQUIREMENT
• RAM – 256 MB .
• HARD DRIVE – 10 minimum and maximum depends on the user
requirement.
• VIDEO– Minimum 800X600.
• MOUSE – Any.
• REMOVAL MEDIA – Most SCSI.
• PRINTER – Almost any parallel or serial port.
• MODEM– Most serial
• NIC – 3Com, Novell, HP, Intel - Clones are NOT recommended.
FEATURES
• Multi-user system : Multi-user capability of UNIX allows several users
to use the same computer to perform their tasks.
• Multi-tasking : Multitasking is the capability of the operating system
to perform various task simultaneously, i.e. a user can run multiple
tasks concurrently.
• Programming Facility : UNIX is highly programmable, the UNIX shell
has all the necessary ingredients like conditional and control
structures, etc.
CONT…..
• Security : UNIX allows sharing of data; every user must have a single
login name and password. So, accessing another user’s data is
impossible without his permission.
• Portability : UNIX is portable because it is written in a high level
language. So , UNIX can be run on different computers.
INTERFFACES OF UNIX
Graphical User Interfaces (GUIs)
• When you logon locally, you are presented with graphical
environment.
Command Line Interface
• You also have access to some UNIX servers as well.
• You can logon from virtually any computer that has internet access
whether it isWindows, Mac, or UNIX itself.
Unix
Process Management
Process
• A program that is claimed to be executing is called a process.
• For a multitasking system, a process has at least the following three
states:
1.Ready state
2.Running state
3.Sleeping state
Process Management
• Multi-tasking system
• Multiple programs can be executed simultaneously
• 3 types of processes are available
System processes (Execute OS code)
User processes (Execute user program code)
Daemons process
Process Management
• Processes will alternatively get into the CPU one after the other
(called the round robin scheme).
• At the time that a process is selected to be “in” the CPU
It goes from ready state to running state
• After that, it will be swapped out
It goes from running state back to ready state
• Or it may due to the waiting of an I/O device, e.g. mouse
It goes from running state to sleeping state
• When obtaining the required resource
It goes from sleeping state to ready state
MEMORY MANGMENT SYSTEM
• Primary memory is a precious resource that frequently cannot
contain all active processes in the system.
• The memory management system decides which processes should
reside in memory.
• It monitors the amount of available
memory.
UNIX Memory Management Policies
• Swapping
– Easy to implement
– Less system overhead
• Demand Paging
– Greater flexibility
Swapping
• The swap device is a block device in a configurable section of a disk
• • Kernel allocates contiguous space on the swap device without
fragmentation
• It maintains free space of the swap device in an in-core table, called
map
• The kernel treats each unit of the swap map as group of disk blocks
• As kernel allocates and frees resources, it updates the map
accordingly
Demand Paging
• Not all page of process resides in memory Locality
• When a process accesses a page that is not part of its working set, it
incurs a page fault.
• The kernel suspends the execution of the process until it reads the
page into memory and makes it accessible to the process
FILE MANAGEMENT SYSTEM
Types of files in UNIX
• Ordinary Files: A file on the system that contains data, text, or
program instructions.
• Special Files: Some special files provide access to hardware such as
hard drives, CD-ROM drives, modems, and Ethernet adapters.
• Directories: Directories store both special and ordinary files. For
users familiar with Windows or Mac OS, UNIX directories are
equivalent to folders.
CONT…
• FILES AND DIRECTORY ACCESS MODES
• Read
• Write
• Execute
ADVANTAGES
• Full multitasking with
protected memory.
• Multiple users can run multiple
programs each at the same
time..
• Portable.
• Machine independent.
• Efficient virtual memory.
• Access Control and security.
DISADVANTAGES
• Its command line shell interface
is not user-friendly.
• It has a lot of utilities(over 400
standard ones)
• To use UNIX well, the user
needs to understand some of
the main design features.
Conclusion
• Better multiuser approach.
• Better process hierarchy.
• Use of daemons.
• Better programming
environment.
• Cost
• User
• Processors
• Security
• Multiprocessing
• Open source
• File system supported
So we can say UNIX is far more better than WINDOWS .

More Related Content

What's hot

Introduction to Operating Systems
Introduction to Operating SystemsIntroduction to Operating Systems
Introduction to Operating SystemsMukesh Chinta
 
Unix Operating System
Unix Operating SystemUnix Operating System
Unix Operating Systemsubhsikha
 
Unix Operating System
Unix Operating SystemUnix Operating System
Unix Operating SystemMahakKasliwal
 
UNIX Operating System
UNIX Operating SystemUNIX Operating System
UNIX Operating SystemUnless Yuriko
 
Operating system and its types
Operating system and its types Operating system and its types
Operating system and its types vimal kumar arora
 
Operating systems Basics
Operating systems BasicsOperating systems Basics
Operating systems BasicsSherif Mousa
 
Presentation on Operating System & its Components
Presentation on Operating System & its ComponentsPresentation on Operating System & its Components
Presentation on Operating System & its ComponentsMahmuda Rahman
 
Linux operating system ppt
Linux operating system pptLinux operating system ppt
Linux operating system pptAchyut Sinha
 
chapter 1 introduction to operating system
chapter 1 introduction to operating systemchapter 1 introduction to operating system
chapter 1 introduction to operating systemAisyah Rafiuddin
 
Linux.ppt
Linux.ppt Linux.ppt
Linux.ppt onu9
 
Operating system
Operating systemOperating system
Operating systemvivek anand
 
Presentation on operating system
 Presentation on operating system Presentation on operating system
Presentation on operating systemNitish Xavier Tirkey
 
Windows V/S Linux OS - Comparison
Windows V/S Linux OS - ComparisonWindows V/S Linux OS - Comparison
Windows V/S Linux OS - ComparisonHariharan Ganesan
 
Operating Systems
Operating SystemsOperating Systems
Operating SystemsMohamed Loey
 
lecture:Operating Syste Ms
lecture:Operating Syste Mslecture:Operating Syste Ms
lecture:Operating Syste Msyeswanth reddy
 
Operating system || Chapter 1: Introduction
Operating system || Chapter 1: IntroductionOperating system || Chapter 1: Introduction
Operating system || Chapter 1: IntroductionAnkonGopalBanik
 
Operating system overview concepts ppt
Operating system overview concepts pptOperating system overview concepts ppt
Operating system overview concepts pptRajendraPrasad Alladi
 
introduction To Operating System
introduction To Operating Systemintroduction To Operating System
introduction To Operating SystemLuka M G
 

What's hot (20)

Introduction to Operating Systems
Introduction to Operating SystemsIntroduction to Operating Systems
Introduction to Operating Systems
 
Unix Operating System
Unix Operating SystemUnix Operating System
Unix Operating System
 
Unix Operating System
Unix Operating SystemUnix Operating System
Unix Operating System
 
User Interface
User InterfaceUser Interface
User Interface
 
Unix ppt
Unix pptUnix ppt
Unix ppt
 
UNIX Operating System
UNIX Operating SystemUNIX Operating System
UNIX Operating System
 
Operating system and its types
Operating system and its types Operating system and its types
Operating system and its types
 
Operating systems Basics
Operating systems BasicsOperating systems Basics
Operating systems Basics
 
Presentation on Operating System & its Components
Presentation on Operating System & its ComponentsPresentation on Operating System & its Components
Presentation on Operating System & its Components
 
Linux operating system ppt
Linux operating system pptLinux operating system ppt
Linux operating system ppt
 
chapter 1 introduction to operating system
chapter 1 introduction to operating systemchapter 1 introduction to operating system
chapter 1 introduction to operating system
 
Linux.ppt
Linux.ppt Linux.ppt
Linux.ppt
 
Operating system
Operating systemOperating system
Operating system
 
Presentation on operating system
 Presentation on operating system Presentation on operating system
Presentation on operating system
 
Windows V/S Linux OS - Comparison
Windows V/S Linux OS - ComparisonWindows V/S Linux OS - Comparison
Windows V/S Linux OS - Comparison
 
Operating Systems
Operating SystemsOperating Systems
Operating Systems
 
lecture:Operating Syste Ms
lecture:Operating Syste Mslecture:Operating Syste Ms
lecture:Operating Syste Ms
 
Operating system || Chapter 1: Introduction
Operating system || Chapter 1: IntroductionOperating system || Chapter 1: Introduction
Operating system || Chapter 1: Introduction
 
Operating system overview concepts ppt
Operating system overview concepts pptOperating system overview concepts ppt
Operating system overview concepts ppt
 
introduction To Operating System
introduction To Operating Systemintroduction To Operating System
introduction To Operating System
 

Similar to UNIX Operating System

Unix Operaring System
Unix Operaring SystemUnix Operaring System
Unix Operaring SystemMahnoor Shaukat
 
unixoperatingsystem-130327073532-phpapp01.pdf
unixoperatingsystem-130327073532-phpapp01.pdfunixoperatingsystem-130327073532-phpapp01.pdf
unixoperatingsystem-130327073532-phpapp01.pdfIxtiyorTeshaboyev
 
Introduction to Operating system CBSE
Introduction to Operating system CBSE Introduction to Operating system CBSE
Introduction to Operating system CBSE PrashantChahal3
 
Linux for embedded_systems
Linux for embedded_systemsLinux for embedded_systems
Linux for embedded_systemsVandana Salve
 
Operating systems (For CBSE School Students)
Operating systems (For CBSE School Students)Operating systems (For CBSE School Students)
Operating systems (For CBSE School Students)Gaurav Aggarwal
 
Unix shell programming intro-part-1
Unix shell programming intro-part-1Unix shell programming intro-part-1
Unix shell programming intro-part-1Prachi Sasankar
 
Introduction & Background(Operating Systems).pptx
Introduction & Background(Operating Systems).pptxIntroduction & Background(Operating Systems).pptx
Introduction & Background(Operating Systems).pptxssuserf7df42
 
Presentation on o s for bca iv
Presentation on o s for bca ivPresentation on o s for bca iv
Presentation on o s for bca ivAjit Singh
 
unit1 part1.ppt
unit1 part1.pptunit1 part1.ppt
unit1 part1.pptsuresh554942
 
Operating system lect3 Autosaved.pptx
Operating system lect3 Autosaved.pptxOperating system lect3 Autosaved.pptx
Operating system lect3 Autosaved.pptxAryanGour1
 
Operating Systems & Applications
Operating Systems & ApplicationsOperating Systems & Applications
Operating Systems & ApplicationsMaulen Bale
 
UNIT I.pptx
UNIT I.pptxUNIT I.pptx
UNIT I.pptxYogapriyaJ1
 
Bca i-fundamental of computer-u-3-functions operating systems
Bca  i-fundamental of  computer-u-3-functions operating systemsBca  i-fundamental of  computer-u-3-functions operating systems
Bca i-fundamental of computer-u-3-functions operating systemsRai University
 
Mca i-fundamental of computer-u-3-functions operating systems
Mca  i-fundamental of  computer-u-3-functions operating systemsMca  i-fundamental of  computer-u-3-functions operating systems
Mca i-fundamental of computer-u-3-functions operating systemsRai University
 
Operating System's Concept, Working, Types, Part, and Many More
Operating System's Concept, Working, Types, Part, and Many MoreOperating System's Concept, Working, Types, Part, and Many More
Operating System's Concept, Working, Types, Part, and Many MoreRobin Thakur
 

Similar to UNIX Operating System (20)

Unix Operaring System
Unix Operaring SystemUnix Operaring System
Unix Operaring System
 
unixoperatingsystem-130327073532-phpapp01.pdf
unixoperatingsystem-130327073532-phpapp01.pdfunixoperatingsystem-130327073532-phpapp01.pdf
unixoperatingsystem-130327073532-phpapp01.pdf
 
Linux
LinuxLinux
Linux
 
Introduction to Operating system CBSE
Introduction to Operating system CBSE Introduction to Operating system CBSE
Introduction to Operating system CBSE
 
Os concepts
Os conceptsOs concepts
Os concepts
 
Linux for embedded_systems
Linux for embedded_systemsLinux for embedded_systems
Linux for embedded_systems
 
Operating systems (For CBSE School Students)
Operating systems (For CBSE School Students)Operating systems (For CBSE School Students)
Operating systems (For CBSE School Students)
 
Unix shell programming intro-part-1
Unix shell programming intro-part-1Unix shell programming intro-part-1
Unix shell programming intro-part-1
 
Introduction & Background(Operating Systems).pptx
Introduction & Background(Operating Systems).pptxIntroduction & Background(Operating Systems).pptx
Introduction & Background(Operating Systems).pptx
 
Presentation on o s for bca iv
Presentation on o s for bca ivPresentation on o s for bca iv
Presentation on o s for bca iv
 
unit1 part1.ppt
unit1 part1.pptunit1 part1.ppt
unit1 part1.ppt
 
Linux architecture
Linux architectureLinux architecture
Linux architecture
 
Lecture 9
Lecture 9Lecture 9
Lecture 9
 
Operating system lect3 Autosaved.pptx
Operating system lect3 Autosaved.pptxOperating system lect3 Autosaved.pptx
Operating system lect3 Autosaved.pptx
 
Operating Systems & Applications
Operating Systems & ApplicationsOperating Systems & Applications
Operating Systems & Applications
 
UNIT I.pptx
UNIT I.pptxUNIT I.pptx
UNIT I.pptx
 
Bca i-fundamental of computer-u-3-functions operating systems
Bca  i-fundamental of  computer-u-3-functions operating systemsBca  i-fundamental of  computer-u-3-functions operating systems
Bca i-fundamental of computer-u-3-functions operating systems
 
os_1.pdf
os_1.pdfos_1.pdf
os_1.pdf
 
Mca i-fundamental of computer-u-3-functions operating systems
Mca  i-fundamental of  computer-u-3-functions operating systemsMca  i-fundamental of  computer-u-3-functions operating systems
Mca i-fundamental of computer-u-3-functions operating systems
 
Operating System's Concept, Working, Types, Part, and Many More
Operating System's Concept, Working, Types, Part, and Many MoreOperating System's Concept, Working, Types, Part, and Many More
Operating System's Concept, Working, Types, Part, and Many More
 

More from Fatima Qayyum

Keras CNN Pre-trained Deep Learning models for Flower Recognition
Keras CNN Pre-trained Deep Learning models for Flower RecognitionKeras CNN Pre-trained Deep Learning models for Flower Recognition
Keras CNN Pre-trained Deep Learning models for Flower RecognitionFatima Qayyum
 
GPU Architecture NVIDIA (GTX GeForce 480)
GPU Architecture NVIDIA (GTX GeForce 480)GPU Architecture NVIDIA (GTX GeForce 480)
GPU Architecture NVIDIA (GTX GeForce 480)Fatima Qayyum
 
DNS spoofing/poisoning Attack Report (Word Document)
DNS spoofing/poisoning Attack Report (Word Document)DNS spoofing/poisoning Attack Report (Word Document)
DNS spoofing/poisoning Attack Report (Word Document)Fatima Qayyum
 
A Low-Cost IoT Application for the Urban Traffic of Vehicles, Based on Wirele...
A Low-Cost IoT Application for the Urban Traffic of Vehicles, Based on Wirele...A Low-Cost IoT Application for the Urban Traffic of Vehicles, Based on Wirele...
A Low-Cost IoT Application for the Urban Traffic of Vehicles, Based on Wirele...Fatima Qayyum
 
DNS spoofing/poisoning Attack
DNS spoofing/poisoning AttackDNS spoofing/poisoning Attack
DNS spoofing/poisoning AttackFatima Qayyum
 
Gamification of Internet Security by Next Generation CAPTCHAs
Gamification of Internet Security by Next Generation CAPTCHAs Gamification of Internet Security by Next Generation CAPTCHAs
Gamification of Internet Security by Next Generation CAPTCHAs Fatima Qayyum
 
Srs (Software Requirement Specification Document)
Srs (Software Requirement Specification Document) Srs (Software Requirement Specification Document)
Srs (Software Requirement Specification Document) Fatima Qayyum
 
Stress managment
Stress managmentStress managment
Stress managmentFatima Qayyum
 
Waterfall model
Waterfall modelWaterfall model
Waterfall modelFatima Qayyum
 
Artificial Intelligence presentation
Artificial Intelligence presentation Artificial Intelligence presentation
Artificial Intelligence presentation Fatima Qayyum
 
Define & Undefine in SQL
Define & Undefine in SQLDefine & Undefine in SQL
Define & Undefine in SQLFatima Qayyum
 
Security System using XOR & NOR
Security System using XOR & NOR Security System using XOR & NOR
Security System using XOR & NOR Fatima Qayyum
 
Communication skills (English) 3
Communication skills (English) 3Communication skills (English) 3
Communication skills (English) 3Fatima Qayyum
 
Creativity and arts presentation (1)
Creativity and arts presentation (1)Creativity and arts presentation (1)
Creativity and arts presentation (1)Fatima Qayyum
 
World religon (islam & judaism)
World religon (islam & judaism)World religon (islam & judaism)
World religon (islam & judaism)Fatima Qayyum
 
Communication Skills
Communication SkillsCommunication Skills
Communication SkillsFatima Qayyum
 

More from Fatima Qayyum (18)

Keras CNN Pre-trained Deep Learning models for Flower Recognition
Keras CNN Pre-trained Deep Learning models for Flower RecognitionKeras CNN Pre-trained Deep Learning models for Flower Recognition
Keras CNN Pre-trained Deep Learning models for Flower Recognition
 
GPU Architecture NVIDIA (GTX GeForce 480)
GPU Architecture NVIDIA (GTX GeForce 480)GPU Architecture NVIDIA (GTX GeForce 480)
GPU Architecture NVIDIA (GTX GeForce 480)
 
DNS spoofing/poisoning Attack Report (Word Document)
DNS spoofing/poisoning Attack Report (Word Document)DNS spoofing/poisoning Attack Report (Word Document)
DNS spoofing/poisoning Attack Report (Word Document)
 
A Low-Cost IoT Application for the Urban Traffic of Vehicles, Based on Wirele...
A Low-Cost IoT Application for the Urban Traffic of Vehicles, Based on Wirele...A Low-Cost IoT Application for the Urban Traffic of Vehicles, Based on Wirele...
A Low-Cost IoT Application for the Urban Traffic of Vehicles, Based on Wirele...
 
DNS spoofing/poisoning Attack
DNS spoofing/poisoning AttackDNS spoofing/poisoning Attack
DNS spoofing/poisoning Attack
 
Gamification of Internet Security by Next Generation CAPTCHAs
Gamification of Internet Security by Next Generation CAPTCHAs Gamification of Internet Security by Next Generation CAPTCHAs
Gamification of Internet Security by Next Generation CAPTCHAs
 
Srs (Software Requirement Specification Document)
Srs (Software Requirement Specification Document) Srs (Software Requirement Specification Document)
Srs (Software Requirement Specification Document)
 
Stress managment
Stress managmentStress managment
Stress managment
 
Waterfall model
Waterfall modelWaterfall model
Waterfall model
 
Artificial Intelligence presentation
Artificial Intelligence presentation Artificial Intelligence presentation
Artificial Intelligence presentation
 
Subnetting
SubnettingSubnetting
Subnetting
 
Define & Undefine in SQL
Define & Undefine in SQLDefine & Undefine in SQL
Define & Undefine in SQL
 
Security System using XOR & NOR
Security System using XOR & NOR Security System using XOR & NOR
Security System using XOR & NOR
 
Communication skills (English) 3
Communication skills (English) 3Communication skills (English) 3
Communication skills (English) 3
 
Creativity and arts presentation (1)
Creativity and arts presentation (1)Creativity and arts presentation (1)
Creativity and arts presentation (1)
 
BCD Adder
BCD AdderBCD Adder
BCD Adder
 
World religon (islam & judaism)
World religon (islam & judaism)World religon (islam & judaism)
World religon (islam & judaism)
 
Communication Skills
Communication SkillsCommunication Skills
Communication Skills
 

Recently uploaded

UNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptxUNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptxkalpana413121
 
fitting shop and tools used in fitting shop .ppt
fitting shop and tools used in fitting shop .pptfitting shop and tools used in fitting shop .ppt
fitting shop and tools used in fitting shop .pptAfnanAhmad53
 
Introduction to Data Visualization,Matplotlib.pdf
Introduction to Data Visualization,Matplotlib.pdfIntroduction to Data Visualization,Matplotlib.pdf
Introduction to Data Visualization,Matplotlib.pdfsumitt6_25730773
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Call Girls Mumbai
 
Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)Ramkumar k
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsvanyagupta248
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationBhangaleSonal
 
Ground Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth ReinforcementGround Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth ReinforcementDr. Deepak Mudgal
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.Kamal Acharya
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityMorshed Ahmed Rahath
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdfAldoGarca30
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayEpec Engineered Technologies
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X79953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Linux Systems Programming: Inter Process Communication (IPC) using Pipes
Linux Systems Programming: Inter Process Communication (IPC) using PipesLinux Systems Programming: Inter Process Communication (IPC) using Pipes
Linux Systems Programming: Inter Process Communication (IPC) using PipesRashidFaridChishti
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxSCMS School of Architecture
 
Max. shear stress theory-Maximum Shear Stress Theory ​ Maximum Distortional ...
Max. shear stress theory-Maximum Shear Stress Theory ​  Maximum Distortional ...Max. shear stress theory-Maximum Shear Stress Theory ​  Maximum Distortional ...
Max. shear stress theory-Maximum Shear Stress Theory ​ Maximum Distortional ...ronahami
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaOmar Fathy
 

Recently uploaded (20)

UNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptxUNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptx
 
fitting shop and tools used in fitting shop .ppt
fitting shop and tools used in fitting shop .pptfitting shop and tools used in fitting shop .ppt
fitting shop and tools used in fitting shop .ppt
 
Introduction to Data Visualization,Matplotlib.pdf
Introduction to Data Visualization,Matplotlib.pdfIntroduction to Data Visualization,Matplotlib.pdf
Introduction to Data Visualization,Matplotlib.pdf
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech students
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
 
Ground Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth ReinforcementGround Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth Reinforcement
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
 
Linux Systems Programming: Inter Process Communication (IPC) using Pipes
Linux Systems Programming: Inter Process Communication (IPC) using PipesLinux Systems Programming: Inter Process Communication (IPC) using Pipes
Linux Systems Programming: Inter Process Communication (IPC) using Pipes
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
 
Max. shear stress theory-Maximum Shear Stress Theory ​ Maximum Distortional ...
Max. shear stress theory-Maximum Shear Stress Theory ​  Maximum Distortional ...Max. shear stress theory-Maximum Shear Stress Theory ​  Maximum Distortional ...
Max. shear stress theory-Maximum Shear Stress Theory ​ Maximum Distortional ...
 
Signal Processing and Linear System Analysis
Signal Processing and Linear System AnalysisSignal Processing and Linear System Analysis
Signal Processing and Linear System Analysis
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 

UNIX Operating System

  • 2. • Unix is a Multi-tasking Multi-user operating system. • Many users can be logged into a system simultaneously, each running many programs. • The kernel job is to Separate each process and user Regulate access to system hardware i.e. memory & I/O devices.
  • 3. History • First version was created in Bell labs in 1969 • By KenThompson, Denis Ritchie, Brian Kernighan & Joe Ossanna • Implemented on PDP-7 • It was given the name UNIX by Brian Kernighan • 1973 unix was rewritten in C language • 1980 BSD 4.1 (Berkeley Software Development) • 1988 AT&T and Sun Microsystems jointly develop SystemV Release 4 (SVR4).This later developed into UnixWare and Solaris 2 • 1991 Linux was originated.
  • 5. UNIX Architecture • Kernel:The kernel is the heart of the operating system. It interacts with hardware and most of the tasks . • Shell:The shell is the utility that processes your requests.When you type in a command at your terminal, the shell interprets the command and calls the program that you want • Commands and Utilities: There are various command and utilities which you would use in your day to day activities. cp, mv, cat and grep. • Files and Directories: All data in UNIX is organized into files. All files are organized into directories.These directories are organized into a tree-like structure called the file system. .
  • 6. HARDWARE REQUIREMENT • RAM – 256 MB . • HARD DRIVE – 10 minimum and maximum depends on the user requirement. • VIDEO– Minimum 800X600. • MOUSE – Any. • REMOVAL MEDIA – Most SCSI. • PRINTER – Almost any parallel or serial port. • MODEM– Most serial • NIC – 3Com, Novell, HP, Intel - Clones are NOT recommended.
  • 7. FEATURES • Multi-user system : Multi-user capability of UNIX allows several users to use the same computer to perform their tasks. • Multi-tasking : Multitasking is the capability of the operating system to perform various task simultaneously, i.e. a user can run multiple tasks concurrently. • Programming Facility : UNIX is highly programmable, the UNIX shell has all the necessary ingredients like conditional and control structures, etc.
  • 8. CONT….. • Security : UNIX allows sharing of data; every user must have a single login name and password. So, accessing another user’s data is impossible without his permission. • Portability : UNIX is portable because it is written in a high level language. So , UNIX can be run on different computers.
  • 9. INTERFFACES OF UNIX Graphical User Interfaces (GUIs) • When you logon locally, you are presented with graphical environment. Command Line Interface • You also have access to some UNIX servers as well. • You can logon from virtually any computer that has internet access whether it isWindows, Mac, or UNIX itself.
  • 11. Process • A program that is claimed to be executing is called a process. • For a multitasking system, a process has at least the following three states: 1.Ready state 2.Running state 3.Sleeping state
  • 12. Process Management • Multi-tasking system • Multiple programs can be executed simultaneously • 3 types of processes are available System processes (Execute OS code) User processes (Execute user program code) Daemons process
  • 13. Process Management • Processes will alternatively get into the CPU one after the other (called the round robin scheme). • At the time that a process is selected to be “in” the CPU It goes from ready state to running state • After that, it will be swapped out It goes from running state back to ready state • Or it may due to the waiting of an I/O device, e.g. mouse It goes from running state to sleeping state • When obtaining the required resource It goes from sleeping state to ready state
  • 14. MEMORY MANGMENT SYSTEM • Primary memory is a precious resource that frequently cannot contain all active processes in the system. • The memory management system decides which processes should reside in memory. • It monitors the amount of available memory.
  • 15. UNIX Memory Management Policies • Swapping – Easy to implement – Less system overhead • Demand Paging – Greater flexibility
  • 16. Swapping • The swap device is a block device in a configurable section of a disk • • Kernel allocates contiguous space on the swap device without fragmentation • It maintains free space of the swap device in an in-core table, called map • The kernel treats each unit of the swap map as group of disk blocks • As kernel allocates and frees resources, it updates the map accordingly
  • 17. Demand Paging • Not all page of process resides in memory Locality • When a process accesses a page that is not part of its working set, it incurs a page fault. • The kernel suspends the execution of the process until it reads the page into memory and makes it accessible to the process
  • 18. FILE MANAGEMENT SYSTEM Types of files in UNIX • Ordinary Files: A file on the system that contains data, text, or program instructions. • Special Files: Some special files provide access to hardware such as hard drives, CD-ROM drives, modems, and Ethernet adapters. • Directories: Directories store both special and ordinary files. For users familiar with Windows or Mac OS, UNIX directories are equivalent to folders.
  • 19. CONT… • FILES AND DIRECTORY ACCESS MODES • Read • Write • Execute
  • 20. ADVANTAGES • Full multitasking with protected memory. • Multiple users can run multiple programs each at the same time.. • Portable. • Machine independent. • Efficient virtual memory. • Access Control and security. DISADVANTAGES • Its command line shell interface is not user-friendly. • It has a lot of utilities(over 400 standard ones) • To use UNIX well, the user needs to understand some of the main design features.
  • 21. Conclusion • Better multiuser approach. • Better process hierarchy. • Use of daemons. • Better programming environment. • Cost • User • Processors • Security • Multiprocessing • Open source • File system supported So we can say UNIX is far more better than WINDOWS .