Some of the key features of UNIX include

  1. Multiuser support: UNIX allows multiple users to simultaneously access the same system and share resources.
  2. Multitasking: UNIX is capable of running multiple processes at the same time.
  3. Shell scripting: UNIX provides a powerful scripting language that allows users to automate tasks.
  4. Security: UNIX has a robust security model that includes file permissions, user accounts, and network security features.
  5. Portability: UNIX can run on a wide variety of hardware platforms, from small embedded systems to large mainframe computers.
  6. Communication: UNIX supports communication methods using the write command, mail command, etc.
  7. Process Tracking: UNIX maintains a record of the jobs that the user creates. This function improves system performance by monitoring CPU usage. It also allows you to keep track of how much disk space each user uses, and the use that information to regulate disk space.

Today, UNIX is widely used in enterprise-level computing, scientific research, and web servers. Many modern operating systems, including Linux and macOS, are based on UNIX or its variants.

Figure – system structure  

  • Layer-1: Hardware: It consists of all hardware related information.  
  • Layer-2: Kernel: This is the core of the Operating System. It is a software that acts as the interface between the hardware and the software. Most of the tasks like memory management, file management, network management, process management, etc., are done by the kernel.  
  • Layer-3: Shell commands: This is the interface between the user and the kernel. Shell is the utility that processes your requests. When you type in a command at the terminal, the shell interprets the command and calls the program that you want. There are various commands like cp, mv, cat, grep, id, wc, nroff, a.out and more.
  • Layer-4: Application Layer: It is the outermost layer that executes the given external applications. 

Figure – kernel and its block diagram 

This diagram shows three levels: user, kernel, and hardware. 

 

  • The system call and library interface represent the border between user programs and the kernel. System calls look like ordinary function calls in C programs. Assembly language programs may invoke system calls directly without a system call library. The libraries are linked with the programs at compile time. 
  • The set of system calls into those that interact with the file subsystem and some system calls interact with the process control subsystem. The file subsystem manages files, allocating file space, administering free space, controlling access to files, and retrieving data for users. 
  • Processes interact with the file subsystem via a specific set of system calls, such as open (to open a file for reading or writing), close, read, write, stat (query the attributes of a file), chown (change the record of who owns the file), and chmod (change the access permissions of a file). 
  • The file subsystem accesses file data using a buffering mechanism that regulates data flow between the kernel and secondary storage devices. The buffering mechanism interacts with block I/O device drivers to initiate data transfer to and from the kernel. 
  • Device drivers are the kernel modules that control the operator of peripheral devices. The file subsystem also interacts directly with “raw” I/O device drivers without the intervention of the buffering mechanism. Finally, the hardware control is responsible for handling interrupts and for communicating with the machine. Devices such as disks or terminals may interrupt the CPU while a process is executing. If so, the kernel may resume execution of the interrupted process after servicing the interrupt. 
  • Interrupts are not serviced by special processes but by special functions in the kernel, called in the context of the currently running process. 

Introduction to UNIX System

Unix is an Operating System that is truly the base of all Operating Systems like Ubuntu, Solaris, POSIX, etc. It was developed in the 1970s by Ken Thompson, Dennis Ritchie, and others in the AT&T Laboratories. It was originally meant for programmers developing software rather than non-programmers. 

Unix and the C were found by AT&T and distributed to government and academic institutions, which led to both being ported to a wider variety of machine families than any other operating system. The main focus that was brought by the developers in this operating system was the Kernel. Unix was considered to be the heart of the operating System. The system Structure of Unix OS are as follows: 

UNIX is a family of multitasking, multiuser computer operating systems developed in the mid 1960s at Bell Labs. It was originally developed for mini computers and has since been ported to various hardware platforms. UNIX has a reputation for stability, security, and scalability, making it a popular choice for enterprise-level computing.

For those preparing for exams like GATE, a thorough understanding of operating systems, including Unix, is essential. Our GATE course provides an in-depth exploration of Unix, covering its history, structure, and key concepts that are crucial for the exam

The basic design philosophy of UNIX is to provide simple, powerful tools that can be combined to perform complex tasks. It features a command-line interface that allows users to interact with the system through a series of commands, rather than through a graphical user interface (GUI).

Similar Reads

Some of the key features of UNIX include:

Multiuser support: UNIX allows multiple users to simultaneously access the same system and share resources. Multitasking: UNIX is capable of running multiple processes at the same time. Shell scripting: UNIX provides a powerful scripting language that allows users to automate tasks. Security: UNIX has a robust security model that includes file permissions, user accounts, and network security features. Portability: UNIX can run on a wide variety of hardware platforms, from small embedded systems to large mainframe computers. Communication: UNIX supports communication methods using the write command, mail command, etc. Process Tracking: UNIX maintains a record of the jobs that the user creates. This function improves system performance by monitoring CPU usage. It also allows you to keep track of how much disk space each user uses, and the use that information to regulate disk space....

Difference between Unix and Linux

Linux is essentially a clone of Unix. But, basic differences are shown below:...

Conclusion

In this article we discussed Unix which is developed in the 1970s, the foundational operating system behind Linux and macOS. Emphasizing simplicity and a command-line interface, Unix’s multitasking, multiuser structure boasts stability, security, and scalability. It uses a kernel, shell commands, and an application layer. Despite its complexity, Unix remains a powerful choice for enterprise computing....

Contact Us