SlideShare a Scribd company logo
1 of 25
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

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 Architecturepec2013
 
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 linuxSiddique Ibrahim
 
Operating system kernal
Operating system kernalOperating system kernal
Operating system kernalSumit Rajpal
 
Operating Systems A-Z
Operating Systems A-ZOperating Systems A-Z
Operating Systems A-ZRavinJ
 
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
 
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
 
Architecture of operating system
Architecture of operating systemArchitecture of operating system
Architecture of operating systemSupriya Kumari
 
Operating systems
Operating systemsOperating systems
Operating systems7867867861
 
KERNAL ARCHITECTURE
KERNAL ARCHITECTUREKERNAL ARCHITECTURE
KERNAL ARCHITECTURElakshmipanat
 
Linux advanced concepts - Part 1
Linux advanced concepts - Part 1Linux advanced concepts - Part 1
Linux advanced concepts - Part 1NAILBITER
 
UNIX Operating System
UNIX Operating SystemUNIX Operating System
UNIX Operating SystemUnless 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 SystemFatima Qayyum
 
unixoperatingsystem-130327073532-phpapp01.pdf
unixoperatingsystem-130327073532-phpapp01.pdfunixoperatingsystem-130327073532-phpapp01.pdf
unixoperatingsystem-130327073532-phpapp01.pdfIxtiyorTeshaboyev
 
Unix operating system
Unix operating systemUnix operating system
Unix operating systemABhay 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 for embedded_systems
Linux for embedded_systemsLinux for embedded_systems
Linux for embedded_systemsVandana Salve
 
Unix Operating System
Unix Operating SystemUnix Operating System
Unix Operating Systemsubhsikha
 
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
 
Linux Operating System. UOG MARGHAZAR Campus
 Linux Operating System. UOG MARGHAZAR Campus Linux Operating System. UOG MARGHAZAR Campus
Linux Operating System. UOG MARGHAZAR CampusSYEDASADALI38
 
Introduction & Background(Operating Systems).pptx
Introduction & Background(Operating Systems).pptxIntroduction & Background(Operating Systems).pptx
Introduction & Background(Operating Systems).pptxssuserf7df42
 
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 & Applications
Operating Systems & ApplicationsOperating Systems & Applications
Operating Systems & ApplicationsMaulen Bale
 
Introduction to unix (1).pptx
Introduction to unix (1).pptxIntroduction to unix (1).pptx
Introduction to unix (1).pptxvirat834293
 

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

Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providermohitmore19
 
Clustering techniques data mining book ....
Clustering techniques data mining book ....Clustering techniques data mining book ....
Clustering techniques data mining book ....ShaimaaMohamedGalal
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerThousandEyes
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfjoe51371421
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...gurkirankumar98700
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxbodapatigopi8531
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionSolGuruz
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsAndolasoft Inc
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AIABDERRAOUF MEHENNI
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 

Recently uploaded (20)

Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
Clustering techniques data mining book ....
Clustering techniques data mining book ....Clustering techniques data mining book ....
Clustering techniques data mining book ....
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
Exploring iOS App Development: Simplifying the Process
Exploring iOS App Development: Simplifying the ProcessExploring iOS App Development: Simplifying the Process
Exploring iOS App Development: Simplifying the Process
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 

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 .