Operating System Tutorial

What is Operating System Evolution of Operating System Types of Operating System Functions of Operating System What is Kernel and Types of Kernel Operating System Properties Operating System Services Components of Operating System Needs of the Operating System Linux Operating System Unix Operating System Ubuntu Operating System What is DOS Operating System Difference Between Multi-programming and Multitasking What is Thread and Types of Thread Process Management Process State What is Process Scheduler and Process Queue What is Context Switching What is CPU Scheduling Scheduling Algorithm FCFS (First-come-First-Serve) Scheduling SJF (Shortest Job First) Scheduling Round-Robin CPU Scheduling Priority Based Scheduling HRRN (Highest Response Ratio Next) Scheduling Process Synchronization Lock Variable Mechanism TSL Mechanism Turn Variable Mechanism Interested Variable Mechanism What is Producer-Consumer Problem What is Semaphore in Operating System Monitors in Operating System What is Deadlock Deadlock Avoidance Strategies for Handling Deadlock Deadlock Prevention Deadlock Detection and Recovery Resource Allocation Graph Banker’s Algorithm in Operating System Fixed Partitioning and Dynamic Partitioning Partitioning Algorithms What is Paging and Segmentation What is Demand Paging What is Virtual Memory Disk Scheduling Algorithms FCFS and SSTF Disk Scheduling Algorithm SCAN and C-SCAN Disk Scheduling Algorithm Look and C-Look Disk Scheduling Algorithm File in Operating System File Access Methods in Operating System File Allocation Method Directory Structure in Operating System Difference between C-LOOK and C-SCAN Difference between Rotational Latency and Disk Assess Time Trap vs Interrupt How to implement Monitors using Semaphores N-Step-SCAN Disk Scheduling Why is it critical for the Scheduler to distinguish between I/O-bound and CPU-bound programs Difference between C-SCAN and SSTF Difference between SCAN and FCFS Difference between Seek Time and Disk Access Time Difference between SSTF and LOOK

Unix Operating System

Unix Operating System

Unix Operating System is a multiuser, portable, time-sharing, and multitasking operating system that was developed in 1969. Unix operating system was developed by a group of AT & T Laboratory employees Dennis Ritchie, Joe Ossanna, Douglas Mcllroy, and Ken Thompson at Bell Labs.  The first language that was used to developed a Unix operating system was Assembly Language and then the Unix operating system was developed by using the C language in 1973.

There are several types of Unix operating system which are present in the market such as AIX, BSD, Solaris, and HP Unix. Unix operating system is known as multiuser system because multiple users can use it simultaneously.

Unix operating system is a multitasking environment because in this, we can run number of programs simultaneously.

Unix operating system is mainly made up of three parts such as Kernel, Shell, and File.

Features of Unix Operating System

There are various features of Unix operating System:

  1. Open Source
  2. Multitasking capability
  3. Multi user capability
  4. Security
  5. Portability
  6. Communication
  1. Open Source: - The Unix operating system is an open source code. So anyone can modify the code of the Unix operating system as per the requirements.
  2. Multitasking Capability: - The Unix operating system is a multitasking operating system because in Unix operating system, multiple programs can be run simultaneously. And this feature increases the utilization of the CPU resources. In Unix operating system, we can type a program in a program editor and concurrently we can also run some other commands.
  3. Multiuser Capability: - The Unix operating system is a multiuser operating system because it allows multiple users to use a system simultaneously.
  4. Security: - The Unix operating system is a highly secured operating system because Unix use different provisions to protect the data. Every Unix user is happy to work with the Unix operating system because it provides a virus-free environment to the user.

There are two security levels provided by the Unix operating system:

  1. File Level Security: - File level security is managed or, controlled by the owner of the file.
  2. System Level Security: - System level security is managed or controlled by the system administrator.
  3. Portability: - Portability is the wonderful feature of the Unix operating system. In the Unix operating system, the term portability means that Unix is able to port to every type of operating system. Unix operating system is portable because it is written in C language and the C language is also a portable language.
  4. Communication: - The Unix operating system provides a tremendous communication among the users. The communication can be of any kind means the communication can be within network of the one main computer or in between the network of two or more computer.

In the Unix operating system, we can easily exchange data, programs and mail via networks.

Architecture of Unix Operating System

The operating system is mainly made up of four components:

  1. Kernel
  2. Shell
  3. Files and Directories
  4. Commands and Utilities
  1. Kernel: - Kernel is the main component of the operating system. It is like the heart of the operating system. The main task of the kernel is to interact with the hardware and various types of task such as File management, Memory management, and Task management.
  2. Shell: - Another component used to implement a Unix operating system is Shell. Shell is the essential component of the Unix operating system. The shell is a command line interpreter. When the user types the command, the shell interprets it and then shell call that program which need a user. There are various types of standard syntax shell used for the commands such as Korn Shell, C Shell, and Bourne Shell.
  3. Commands and Utilities: - Another component of the Unix operating system is commands and utilities. There are different types of command and utilities which is used to develop the Unix operating system such as grep, mv, cp, and cat.
  4. Files and Directories: - In Unix operating system, files are used to organize the data. Then we organize the files into the directories. Again, organize the directories into a Tree-structure.
Unix Operating System