SlideShare a Scribd company logo
Unix Operating
System
SUBMITTED BY:
MAHNOOR SHAUKAT (020)
FATIMA QAYYUM (011)
Introduction
• 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, if DOS can use it, Unix can too……..
FEATURES
• 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.
• Multi-user system : Multi-user capability of UNIX allows several users
to use the same computer to perform their tasks with security and
privacy of there data and information.
• Multi-tasking : Multitasking is the capability of the operating system
to perform various task simultaneously, i.e. a user can run multiple
tasks concurrently.
CONT…..
• Portability : UNIX is portable because it is written in a high level
language. So , UNIX can be run on different computers.
• Programming Facility : UNIX is highly programmable, the UNIX shell
has all the necessary ingredients like conditional and control
structures, etc.
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.
• Graphical User Interfaces
(GUIs)
• Command Line Interface
Unix
Process Management
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
• 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
• 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
System Calls in UNIX
• Fork(): -This system call create new process.
• Exec(): -This system call used after a fork to replace the process
memory space with a new program.
• Wait():-This system call moves a process off the ready queue until the
termination of the child.
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 process of moving some pages out of main memory
and moving others in, is called swapping.
• The swap device is a block device in a configurable section of a disk
• For the best performance, we want each page to be accessible in
Main memory as it is needed by the CPU.
• A page fault occurs when the CPU tries to access a page that is not in
main memory.
• A page will swapped out will go in any of the following:
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.
• Advantages
Less I/O needed
Less memory needed
Faster response
Increased degree of multi programming.
Demand paging:
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 far more better than WINDOWS .
Programmers writing essay:

More Related Content

What's hot

Kernels and its types
Kernels and its typesKernels and its types
Kernels and its types
ARAVIND18MCS1004
 
What is a Kernel? : Introduction And Architecture
What is a Kernel? : Introduction And ArchitectureWhat is a Kernel? : Introduction And Architecture
What is a Kernel? : Introduction And Architecture
pec2013
 
Kernel mode vs user mode in linux
Kernel mode vs user mode in linuxKernel mode vs user mode in linux
Kernel mode vs user mode in linux
Siddique Ibrahim
 
Computer Operating System
Computer Operating SystemComputer Operating System
Computer Operating System
Christine May Petajen-Brillantes
 
Window architecture
Window architecture Window architecture
Window architecture
IGZ Software house
 
Unix and its Components
Unix and its ComponentsUnix and its Components
Unix and its Components
SHUBHA CHATURVEDI
 
Operating system kernal
Operating system kernalOperating system kernal
Operating system kernal
Sumit Rajpal
 
Operating Systems A-Z
Operating Systems A-ZOperating Systems A-Z
Operating Systems A-Z
RavinJ
 
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
Robin Thakur
 
Linux kernel architecture
Linux kernel architectureLinux kernel architecture
Linux kernel architecture
Teja Bheemanapally
 
Course 102: Lecture 25: Devices and Device Drivers
Course 102: Lecture 25: Devices and Device Drivers Course 102: Lecture 25: Devices and Device Drivers
Course 102: Lecture 25: Devices and Device Drivers
Ahmed El-Arabawy
 
Kernal
KernalKernal
Architecture of operating system
Architecture of operating systemArchitecture of operating system
Architecture of operating system
Supriya Kumari
 
Os concepts
Os conceptsOs concepts
Operating systems
Operating systemsOperating systems
Operating systems
7867867861
 
KERNAL ARCHITECTURE
KERNAL ARCHITECTUREKERNAL ARCHITECTURE
KERNAL ARCHITECTURE
lakshmipanat
 
Ch2
Ch2Ch2
Linux advanced concepts - Part 1
Linux advanced concepts - Part 1Linux advanced concepts - Part 1
Linux advanced concepts - Part 1
NAILBITER
 
UNIX Operating System
UNIX Operating SystemUNIX Operating System
UNIX Operating System
Unless Yuriko
 

What's hot (19)

Kernels and its types
Kernels and its typesKernels and its types
Kernels and its types
 
What is a Kernel? : Introduction And Architecture
What is a Kernel? : Introduction And ArchitectureWhat is a Kernel? : Introduction And Architecture
What is a Kernel? : Introduction And Architecture
 
Kernel mode vs user mode in linux
Kernel mode vs user mode in linuxKernel mode vs user mode in linux
Kernel mode vs user mode in linux
 
Computer Operating System
Computer Operating SystemComputer Operating System
Computer Operating System
 
Window architecture
Window architecture Window architecture
Window architecture
 
Unix and its Components
Unix and its ComponentsUnix and its Components
Unix and its Components
 
Operating system kernal
Operating system kernalOperating system kernal
Operating system kernal
 
Operating Systems A-Z
Operating Systems A-ZOperating Systems A-Z
Operating Systems A-Z
 
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
 
Linux kernel architecture
Linux kernel architectureLinux kernel architecture
Linux kernel architecture
 
Course 102: Lecture 25: Devices and Device Drivers
Course 102: Lecture 25: Devices and Device Drivers Course 102: Lecture 25: Devices and Device Drivers
Course 102: Lecture 25: Devices and Device Drivers
 
Kernal
KernalKernal
Kernal
 
Architecture of operating system
Architecture of operating systemArchitecture of operating system
Architecture of operating system
 
Os concepts
Os conceptsOs concepts
Os concepts
 
Operating systems
Operating systemsOperating systems
Operating systems
 
KERNAL ARCHITECTURE
KERNAL ARCHITECTUREKERNAL ARCHITECTURE
KERNAL ARCHITECTURE
 
Ch2
Ch2Ch2
Ch2
 
Linux advanced concepts - Part 1
Linux advanced concepts - Part 1Linux advanced concepts - Part 1
Linux advanced concepts - Part 1
 
UNIX Operating System
UNIX Operating SystemUNIX Operating System
UNIX Operating System
 

Similar to Unix Operaring System

UNIX Operating System
UNIX Operating SystemUNIX Operating System
UNIX Operating System
Fatima Qayyum
 
unixoperatingsystem-130327073532-phpapp01.pdf
unixoperatingsystem-130327073532-phpapp01.pdfunixoperatingsystem-130327073532-phpapp01.pdf
unixoperatingsystem-130327073532-phpapp01.pdf
IxtiyorTeshaboyev
 
Unix operating system
Unix operating systemUnix operating system
Unix operating system
ABhay Panchal
 
Introduction to Operating system CBSE
Introduction to Operating system CBSE Introduction to Operating system CBSE
Introduction to Operating system CBSE
PrashantChahal3
 
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
 
Linux architecture
Linux architectureLinux architecture
Linux architecture
ICI Bucharest - roTLD
 
Linux for embedded_systems
Linux for embedded_systemsLinux for embedded_systems
Linux for embedded_systems
Vandana Salve
 
Unix Operating System
Unix Operating SystemUnix Operating System
Unix Operating System
subhsikha
 
unit1 part1.ppt
unit1 part1.pptunit1 part1.ppt
unit1 part1.ppt
suresh554942
 
Presentation1.pdf
Presentation1.pdfPresentation1.pdf
Presentation1.pdf
RahulGhosh767154
 
UNIT I.pptx
UNIT I.pptxUNIT I.pptx
UNIT I.pptx
YogapriyaJ1
 
Unix/Linux
Unix/Linux Unix/Linux
Unix/Linux
Saurabh Upadhyay
 
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
Ajit Singh
 
Linux Operating System. UOG MARGHAZAR Campus
 Linux Operating System. UOG MARGHAZAR Campus Linux Operating System. UOG MARGHAZAR Campus
Linux Operating System. UOG MARGHAZAR Campus
SYEDASADALI38
 
Introduction & Background(Operating Systems).pptx
Introduction & Background(Operating Systems).pptxIntroduction & Background(Operating Systems).pptx
Introduction & Background(Operating Systems).pptx
ssuserf7df42
 
Lecture 9
Lecture 9Lecture 9
Lecture 9
Anshumali Singh
 
Windows V/S Linux OS - Comparison
Windows V/S Linux OS - ComparisonWindows V/S Linux OS - Comparison
Windows V/S Linux OS - Comparison
Hariharan Ganesan
 
Operating Systems & Applications
Operating Systems & ApplicationsOperating Systems & Applications
Operating Systems & Applications
Maulen Bale
 
Introduction to unix (1).pptx
Introduction to unix (1).pptxIntroduction to unix (1).pptx
Introduction to unix (1).pptx
virat834293
 
os_1.pdf
os_1.pdfos_1.pdf
os_1.pdf
HemantBorse6
 

Similar to Unix Operaring System (20)

UNIX Operating System
UNIX Operating SystemUNIX Operating System
UNIX Operating System
 
unixoperatingsystem-130327073532-phpapp01.pdf
unixoperatingsystem-130327073532-phpapp01.pdfunixoperatingsystem-130327073532-phpapp01.pdf
unixoperatingsystem-130327073532-phpapp01.pdf
 
Unix operating system
Unix operating systemUnix operating system
Unix operating system
 
Introduction to Operating system CBSE
Introduction to Operating system CBSE Introduction to Operating system CBSE
Introduction to Operating system CBSE
 
Operating systems (For CBSE School Students)
Operating systems (For CBSE School Students)Operating systems (For CBSE School Students)
Operating systems (For CBSE School Students)
 
Linux architecture
Linux architectureLinux architecture
Linux architecture
 
Linux for embedded_systems
Linux for embedded_systemsLinux for embedded_systems
Linux for embedded_systems
 
Unix Operating System
Unix Operating SystemUnix Operating System
Unix Operating System
 
unit1 part1.ppt
unit1 part1.pptunit1 part1.ppt
unit1 part1.ppt
 
Presentation1.pdf
Presentation1.pdfPresentation1.pdf
Presentation1.pdf
 
UNIT I.pptx
UNIT I.pptxUNIT I.pptx
UNIT I.pptx
 
Unix/Linux
Unix/Linux Unix/Linux
Unix/Linux
 
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
 
Linux Operating System. UOG MARGHAZAR Campus
 Linux Operating System. UOG MARGHAZAR Campus Linux Operating System. UOG MARGHAZAR Campus
Linux Operating System. UOG MARGHAZAR Campus
 
Introduction & Background(Operating Systems).pptx
Introduction & Background(Operating Systems).pptxIntroduction & Background(Operating Systems).pptx
Introduction & Background(Operating Systems).pptx
 
Lecture 9
Lecture 9Lecture 9
Lecture 9
 
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 & Applications
Operating Systems & ApplicationsOperating Systems & Applications
Operating Systems & Applications
 
Introduction to unix (1).pptx
Introduction to unix (1).pptxIntroduction to unix (1).pptx
Introduction to unix (1).pptx
 
os_1.pdf
os_1.pdfos_1.pdf
os_1.pdf
 

Recently uploaded

Voxxed Days Trieste 2024 - Unleashing the Power of Vector Search and Semantic...
Voxxed Days Trieste 2024 - Unleashing the Power of Vector Search and Semantic...Voxxed Days Trieste 2024 - Unleashing the Power of Vector Search and Semantic...
Voxxed Days Trieste 2024 - Unleashing the Power of Vector Search and Semantic...
Luigi Fugaro
 
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
XfilesPro
 
Enhanced Screen Flows UI/UX using SLDS with Tom Kitt
Enhanced Screen Flows UI/UX using SLDS with Tom KittEnhanced Screen Flows UI/UX using SLDS with Tom Kitt
Enhanced Screen Flows UI/UX using SLDS with Tom Kitt
Peter Caitens
 
Migration From CH 1.0 to CH 2.0 and Mule 4.6 & Java 17 Upgrade.pptx
Migration From CH 1.0 to CH 2.0 and  Mule 4.6 & Java 17 Upgrade.pptxMigration From CH 1.0 to CH 2.0 and  Mule 4.6 & Java 17 Upgrade.pptx
Migration From CH 1.0 to CH 2.0 and Mule 4.6 & Java 17 Upgrade.pptx
ervikas4
 
Operational ease MuleSoft and Salesforce Service Cloud Solution v1.0.pptx
Operational ease MuleSoft and Salesforce Service Cloud Solution v1.0.pptxOperational ease MuleSoft and Salesforce Service Cloud Solution v1.0.pptx
Operational ease MuleSoft and Salesforce Service Cloud Solution v1.0.pptx
sandeepmenon62
 
Assure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyesAssure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
Unlock the Secrets to Effortless Video Creation with Invideo: Your Ultimate G...
Unlock the Secrets to Effortless Video Creation with Invideo: Your Ultimate G...Unlock the Secrets to Effortless Video Creation with Invideo: Your Ultimate G...
Unlock the Secrets to Effortless Video Creation with Invideo: Your Ultimate G...
The Third Creative Media
 
Going AOT: Everything you need to know about GraalVM for Java applications
Going AOT: Everything you need to know about GraalVM for Java applicationsGoing AOT: Everything you need to know about GraalVM for Java applications
Going AOT: Everything you need to know about GraalVM for Java applications
Alina Yurenko
 
Orca: Nocode Graphical Editor for Container Orchestration
Orca: Nocode Graphical Editor for Container OrchestrationOrca: Nocode Graphical Editor for Container Orchestration
Orca: Nocode Graphical Editor for Container Orchestration
Pedro J. Molina
 
Superpower Your Apache Kafka Applications Development with Complementary Open...
Superpower Your Apache Kafka Applications Development with Complementary Open...Superpower Your Apache Kafka Applications Development with Complementary Open...
Superpower Your Apache Kafka Applications Development with Complementary Open...
Paul Brebner
 
ppt on the brain chip neuralink.pptx
ppt  on   the brain  chip neuralink.pptxppt  on   the brain  chip neuralink.pptx
ppt on the brain chip neuralink.pptx
Reetu63
 
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
dakas1
 
The Role of DevOps in Digital Transformation.pdf
The Role of DevOps in Digital Transformation.pdfThe Role of DevOps in Digital Transformation.pdf
The Role of DevOps in Digital Transformation.pdf
mohitd6
 
Boost Your Savings with These Money Management Apps
Boost Your Savings with These Money Management AppsBoost Your Savings with These Money Management Apps
Boost Your Savings with These Money Management Apps
Jhone kinadey
 
All you need to know about Spring Boot and GraalVM
All you need to know about Spring Boot and GraalVMAll you need to know about Spring Boot and GraalVM
All you need to know about Spring Boot and GraalVM
Alina Yurenko
 
Beginner's Guide to Observability@Devoxx PL 2024
Beginner's  Guide to Observability@Devoxx PL 2024Beginner's  Guide to Observability@Devoxx PL 2024
Beginner's Guide to Observability@Devoxx PL 2024
michniczscribd
 
A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...
A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...
A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...
kalichargn70th171
 
How GenAI Can Improve Supplier Performance Management.pdf
How GenAI Can Improve Supplier Performance Management.pdfHow GenAI Can Improve Supplier Performance Management.pdf
How GenAI Can Improve Supplier Performance Management.pdf
Zycus
 
一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理
dakas1
 

Recently uploaded (20)

Voxxed Days Trieste 2024 - Unleashing the Power of Vector Search and Semantic...
Voxxed Days Trieste 2024 - Unleashing the Power of Vector Search and Semantic...Voxxed Days Trieste 2024 - Unleashing the Power of Vector Search and Semantic...
Voxxed Days Trieste 2024 - Unleashing the Power of Vector Search and Semantic...
 
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
 
Enhanced Screen Flows UI/UX using SLDS with Tom Kitt
Enhanced Screen Flows UI/UX using SLDS with Tom KittEnhanced Screen Flows UI/UX using SLDS with Tom Kitt
Enhanced Screen Flows UI/UX using SLDS with Tom Kitt
 
Migration From CH 1.0 to CH 2.0 and Mule 4.6 & Java 17 Upgrade.pptx
Migration From CH 1.0 to CH 2.0 and  Mule 4.6 & Java 17 Upgrade.pptxMigration From CH 1.0 to CH 2.0 and  Mule 4.6 & Java 17 Upgrade.pptx
Migration From CH 1.0 to CH 2.0 and Mule 4.6 & Java 17 Upgrade.pptx
 
Operational ease MuleSoft and Salesforce Service Cloud Solution v1.0.pptx
Operational ease MuleSoft and Salesforce Service Cloud Solution v1.0.pptxOperational ease MuleSoft and Salesforce Service Cloud Solution v1.0.pptx
Operational ease MuleSoft and Salesforce Service Cloud Solution v1.0.pptx
 
bgiolcb
bgiolcbbgiolcb
bgiolcb
 
Assure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyesAssure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyes
 
Unlock the Secrets to Effortless Video Creation with Invideo: Your Ultimate G...
Unlock the Secrets to Effortless Video Creation with Invideo: Your Ultimate G...Unlock the Secrets to Effortless Video Creation with Invideo: Your Ultimate G...
Unlock the Secrets to Effortless Video Creation with Invideo: Your Ultimate G...
 
Going AOT: Everything you need to know about GraalVM for Java applications
Going AOT: Everything you need to know about GraalVM for Java applicationsGoing AOT: Everything you need to know about GraalVM for Java applications
Going AOT: Everything you need to know about GraalVM for Java applications
 
Orca: Nocode Graphical Editor for Container Orchestration
Orca: Nocode Graphical Editor for Container OrchestrationOrca: Nocode Graphical Editor for Container Orchestration
Orca: Nocode Graphical Editor for Container Orchestration
 
Superpower Your Apache Kafka Applications Development with Complementary Open...
Superpower Your Apache Kafka Applications Development with Complementary Open...Superpower Your Apache Kafka Applications Development with Complementary Open...
Superpower Your Apache Kafka Applications Development with Complementary Open...
 
ppt on the brain chip neuralink.pptx
ppt  on   the brain  chip neuralink.pptxppt  on   the brain  chip neuralink.pptx
ppt on the brain chip neuralink.pptx
 
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
 
The Role of DevOps in Digital Transformation.pdf
The Role of DevOps in Digital Transformation.pdfThe Role of DevOps in Digital Transformation.pdf
The Role of DevOps in Digital Transformation.pdf
 
Boost Your Savings with These Money Management Apps
Boost Your Savings with These Money Management AppsBoost Your Savings with These Money Management Apps
Boost Your Savings with These Money Management Apps
 
All you need to know about Spring Boot and GraalVM
All you need to know about Spring Boot and GraalVMAll you need to know about Spring Boot and GraalVM
All you need to know about Spring Boot and GraalVM
 
Beginner's Guide to Observability@Devoxx PL 2024
Beginner's  Guide to Observability@Devoxx PL 2024Beginner's  Guide to Observability@Devoxx PL 2024
Beginner's Guide to Observability@Devoxx PL 2024
 
A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...
A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...
A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...
 
How GenAI Can Improve Supplier Performance Management.pdf
How GenAI Can Improve Supplier Performance Management.pdfHow GenAI Can Improve Supplier Performance Management.pdf
How GenAI Can Improve Supplier Performance Management.pdf
 
一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理
 

Unix Operaring System

  • 1. Unix Operating System SUBMITTED BY: MAHNOOR SHAUKAT (020) FATIMA QAYYUM (011)
  • 2. Introduction • 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, if DOS can use it, Unix can too……..
  • 7. FEATURES • 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. • Multi-user system : Multi-user capability of UNIX allows several users to use the same computer to perform their tasks with security and privacy of there data and information. • Multi-tasking : Multitasking is the capability of the operating system to perform various task simultaneously, i.e. a user can run multiple tasks concurrently.
  • 8. CONT….. • Portability : UNIX is portable because it is written in a high level language. So , UNIX can be run on different computers. • Programming Facility : UNIX is highly programmable, the UNIX shell has all the necessary ingredients like conditional and control structures, etc.
  • 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.
  • 10. • Graphical User Interfaces (GUIs) • Command Line Interface
  • 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 • 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
  • 14. 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
  • 15. System Calls in UNIX • Fork(): -This system call create new process. • Exec(): -This system call used after a fork to replace the process memory space with a new program. • Wait():-This system call moves a process off the ready queue until the termination of the child.
  • 16. 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.
  • 17. UNIX Memory Management Policies • Swapping – Easy to implement – Less system overhead • Demand Paging – Greater flexibility
  • 18. Swapping • The process of moving some pages out of main memory and moving others in, is called swapping. • The swap device is a block device in a configurable section of a disk • For the best performance, we want each page to be accessible in Main memory as it is needed by the CPU. • A page fault occurs when the CPU tries to access a page that is not in main memory. • A page will swapped out will go in any of the following:
  • 19. 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. • Advantages Less I/O needed Less memory needed Faster response Increased degree of multi programming.
  • 21. 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.
  • 22. CONT… • FILES AND DIRECTORY ACCESS MODES • Read • Write • Execute
  • 23. 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.
  • 24. 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 far more better than WINDOWS .