Siksha Sarovar

Siksha Sarovar (sikshasarovar.com) is a free educational web application that helps students in India learn programming and prepare for academic and competitive exams. The platform offers structured coding courses (C, C++, Python, Java, HTML, CSS, PHP, Power BI, AI, Machine Learning, Data Science), complete university curriculum notes for BCA/MCA students with previous year question papers, Class 10 and Class 12 CBSE/HBSE school notes, and dedicated preparation material for SSC, UPSC, Banking, Railway and other government exams. Browsing the site is completely free and requires no account. Users may optionally sign in with Google solely to save their learning progress, quiz scores and personal preferences across devices.

Privacy Policy | Terms of Service | Contact Siksha Sarovar | About Siksha Sarovar

v4.0.9 · PWA
Siksha Sarovar logo
Siksha Sarovar
Your Learning Universe

Siksha Sarovar is a free e-learning platform for coding courses, BCA university notes and competitive exam preparation. Optional Google sign-in saves your learning progress across devices.

Initializing knowledge base…
Compiling modules 0%

Basic Features of UNIX

Lesson 3 of 32 in the free Design of Unix Operating System notes on Siksha Sarovar, written by Rohit Jangra.

Introduction

UNIX was designed with several powerful features that made it stand out from other operating systems of its time. These features remain the hallmark of modern UNIX-like systems.

Core Features of UNIX

1. Multi-User:

  • Multiple users can access and use the system simultaneously.
  • Each user has a separate login, home directory, and set of permissions.
  • The system ensures that one user's processes do not interfere with another's.

2. Multi-Tasking:

  • UNIX supports running multiple processes simultaneously (concurrency).
  • A single user can run several programs at the same time (foreground and background processes).
  • The kernel manages CPU scheduling to give each process a fair share of time.

3. Portability:

  • Since UNIX is written in C (a high-level language), it can be easily ported to different hardware architectures.
  • Only a small part of the kernel (hardware-dependent code) needs to be rewritten for a new platform.

4. Hierarchical File System:

  • Files are organized in a tree-like directory structure starting from the root directory /.
  • The structure is logical and makes navigation easy.
  • Example: /home/user/documents/file.txt

5. Security:

  • UNIX provides robust security through:
  • File Permissions: Read (r), Write (w), Execute (x) for Owner, Group, and Others.
  • User Authentication: Login with username and password.
  • Superuser (root): Only the administrator has full system access.

6. Shell Interface:

  • UNIX provides a powerful command-line interface (CLI) called the Shell.
  • The shell interprets user commands and communicates with the kernel.
  • Types: Bourne Shell (sh), C Shell (csh), Korn Shell (ksh), Bash (bash).

7. Pipes and Filters:

  • UNIX allows the output of one command to be used as the input of another using pipes (|).
  • Filters are commands that process input streams (e.g., grep, sort, awk).
  • Example: cat file.txt | grep "error" | sort

8. Modular Design:

  • UNIX follows a modular approach where small, focused utilities are combined to perform complex tasks.
  • This reduces complexity and promotes code reuse.

9. Built-in Networking:

  • UNIX was one of the first OS to include TCP/IP networking support (introduced via BSD).
  • Tools like telnet, ftp, ssh, ping are natively available.

10. Open Source Tools:

  • A vast library of development tools, compilers (gcc), debuggers (gdb), and editors (vi, emacs) are available.

Summary Table

FeatureDescription
Multi-UserMultiple users can log in and work simultaneously
Multi-TaskingMultiple processes can run concurrently
PortabilityWritten in C, easily ported to new hardware
Hierarchical FSTree-structured directory system from root /
SecurityFile permissions, authentication, superuser
ShellPowerful CLI for user-kernel communication
Pipes & FiltersChain commands together for complex operations
Modular DesignSmall tools combined for larger tasks
NetworkingBuilt-in TCP/IP support

Summary

  • UNIX is multi-user, multi-tasking, portable, and secure.
  • Its hierarchical file system and shell interface are foundational concepts.
  • Pipes, filters, and modular design embody the UNIX philosophy.