1 of 25

History of Unix/Linux

Session 1

Objectives: Understand the origin, evolution, and impact of UNIX/Linux systems

2 of 25

Operating system

An OS is a layer of software that sits between your applications and your

computer’s hardware. It manages the computer’s resources like the CPU, memory, and devices such as printers, keyboards, and screens. Without an operating system, you’d need to program directly in machine language for each piece of hardware.

3 of 25

Operating systems

  • Imagine two programs both trying to print at the same time. The OS steps in to manage that, ensuring only one gets access to the printer at once. It also makes sure that if a program is waiting for something—like data from the network—it doesn’t block the whole system. Instead, it pauses that task and lets others continue. This efficient management makes multitasking possible. Plus, it provides abstractions—like files instead of raw disk blocks—so developers can focus on writing useful programs without worrying about hardware details

4 of 25

Operating system goals:

  • Execute user programs and make solving user problems easier

  • Make the computer system convenient to use

  • Use the computer hardware in an efficient manner, acts like a
  • resource manager

  • These goals may sometimes conflict. For instance, improving performance might reduce convenience. So operating system designers have to make careful choices to balance these needs.

5 of 25

Examples: Android, macOS, Windows, Linux/GNU�

6 of 25

OS Advantages

  • Operating System manages external and internal devices for example, printers,

scanners, and other.

  • Operating System provides interfaces and drivers for proper communication between system and hardware devices without needing to understand every technical detail..

  • Allows multiple applications to run simultaneously

  • Organizes and manages files on storage devices

  • Operating system allocates resources to various applications and ensures their efficient utilization.

7 of 25

OS Disadvantages

  • If an error occurred in your operating system, then there may be a chance that your data may not be recovered therefore always have a backup of your data.

  • Threats and viruses can attack our operating system at any time, making it challenging for the OS to keep the system protected from these dangers.

  • learning about new operating system can be a time-consuming

  • Operating systems consume system resources, including CPU, memory, and storage, which can affect the performance of other applications.

8 of 25

Why was UNIX created?

  • The Computing Context of the 1G60s

    • Computers were large, expensive, and shared

    • Operating systems were complex, proprietary, and specific to each machine.
  • Each vendor had its own OS, and they weren’t compatible

    • Developers wanted more portable, efficient, and multi-user environments.

  • Existing systems were not flexible or user-friendly for developers

9 of 25

Why was UNIX created?

  • Multics – The Ambitious Predecessor:
    • (Multiplexed Information and Computing Service) was started in the mid- 1G60s by MIT, Bell Labs, and General Electric
    • Aimed to create a next-generation, time-sharing operating system that would:
      • Serve many users simultaneously.
      • Be modular and easily expandable.

    • Ambitious goals:
      • Real-time performance and reliability
      • Hierarchical file system (tree-like structure).
      • Dynamic linking and segmented memory management
      • Written in a high-level language—very advanced for its time

10 of 25

Why was UNIX created?

  • Multics – The Ambitious Predecessor:
  • But it failed
    • Multics became overly complex and hard to manage

    • Development delays and high costs led Bell Labs to pull out in 1G6G

    • Although innovative, it was too ambitious for the hardware and software capabilities of the era.

    • Ken Thompson, who had worked on Multics, wanted to build something simpler—something that captured the good ideas, but left the bloat behind. That became Unix

11 of 25

Why UNIX was created?

MULTICS

UNIX:

  • The idea of a time-sharing OS.
  • A hierarchical file system.
  • User access control and shell- based interaction.

Multics inspired UNIX but also showed the importance of simplicity and elegance in system design

12 of 25

Open-source

  • Open Source means the source code of a software is made freely available, and users are allowed to view, modify, use, and redistribute it.

  • This idea is the foundation for Linux and many other modern tools. It’s not just about cost—it’s about freedom, collaboration, and transparency. Open source enables innovation by letting people around the world work together on the same software.

13 of 25

Open Source

  • Open Source means the source code of a software is made freely available, and users are allowed to view, modify, use, and redistribute it.

  • BSD’s Open Source Legacy:

    • In 1G77, researchers at the University of California, Berkeley released the first version of BSD, an enhanced Unix-like system based on Unix Version 6 (V6) from Bell Labs

    • BSD began as a set of add-ons and improvements to ATCT’s Unix, including
  • tools like the C shell (csh), improved performance, and networking utilities.

    • It quickly evolved into a full Unix-like operating system used widely in
  • academia and eventually in commercial products.

14 of 25

History of UNIX

1G6G

1G73

1G75

»1G7G

1G87

1G70

1G73

1G7G

1G83

1GG1

15 of 25

System structure

  • Hardware: Physical machine (CPU, memory, devices) — not part of the OS.

  • Kernel: Core of the OS that manages and controls hardware resources.

  • Shell: Interface that allows users to interact with the kernel.

  • User Applications: Programs run by users, relying on the shell and kernel to function.

16 of 25

Shell, terminal, prompt, command line?

Shell: A program that provides a user interface to interact with the operating system. It interprets and executes commands typed by the user (e.g. bash, ksh, csh, zsh, fish) .

Terminal: A program that provides the environment where the user can interact with the shell (e.g. GNOME Terminal, Konsole, or xterm).

Prompt: The text that appears in the terminal, indicating that the shell is ready to accept a command. It usually ends with a symbol such as $ or # (for user or root, respectively) .

Command line: The actual input field where you type commands in the terminal.

It’s the space where you write and execute commands.

17 of 25

Shell, terminal, prompt, command line?

  • So, in short:
  • Shell: The program interpreting commands.

  • Terminal: The program displaying the shell's prompt and results.

  • Prompt: The text shown, waiting for commands.

  • Command line: The area where you type your commands.

18 of 25

What is LINUX?

  • Linux is NOT an open source operating system on its own.

  • Linux is a kernel, first released by Linus Torvalds in 1991. It’s combined with GNU software to form a complete operating systems like Ubuntu or Fedora (GNU tools—like compilers, libraries, and shells)

  • The code used to create Linux is free and available to the public to
  • view, edit, and—for users with the appropriate skills—to contribute to.

  • Unix and Linux have comparable components, including the kernel,
  • shell, and programs.

19 of 25

Linux versus UNIX

  • Unix and Linux are similar in many ways, and in fact, Linux was originally created to be similar to Unix. Both have similar tools for interfacing with the systems, programming tools, filesystem layouts, and other key components.

  • However, Unix is not free.

  • Over the years, a number of different operating systems have been created that attempted to be “unix-like” or “unix- compatible,” but Linux has been the most successful, far surpassing its predecessors in popularity.

20 of 25

Linux versus UNIX

Feature

Linux

UNIX

Source Code

Open Source

Mostly Proprietary

Cost

Free

Commercial License (varies by version)

Usage

Servers, Desktops, Mobile (e.g.,

Android)

Enterprise Servers, Workstations

Development

Community-driven (collaborative)

Vendor-specific (ATCT, IBM, Oracle, etc.)

Customization

Highly customizable

Limited customization

Examples

Ubuntu, Fedora, Debian, Arch, CentOS

AIX (IBM), HP-UX, Solaris (Oracle)

User Interface

CLI and GUI options

Mostly CLI (some with GUI)

Compatibility

Compatible with many hardware platforms

Limited to specific hardware

21 of 25

History of LINUX

  • Linux was created in 1991 by Linus Torvalds, a then- student at the University of Helsinki. Torvalds built Linux as a free and open source alternative to Minix, another Unix clone that was predominantly used in academic settings.

  • At first, he wanted to call it ‘Freax’—a combination of ‘free’ and ‘freak’—but the server admin who hosted it renamed the folder to ‘Linux’ after a combination of Torvalds’ first name and the word Unix, and the name stuck.

22 of 25

Why LINUX?

Free and Open Source

    • No license fees. You can use, modify, and distribute it.

Secure and Stable

    • Long uptimes, strong permissions model, fewer viruses.

Community-Supported

    • Thousands of contributors and online resources.

Widely Used

    • Powers servers, supercomputers, IoT, mobile (Android), cloud infrastructure.

Ideal for Developers

    • Built-in tools, scripting, and full control over the system.

23 of 25

LINUX

What are the different

Linux/GNU distributions?

24 of 25

LINUX

  • Over 600 Linux distributions, 300 actively developped. This diversity is a strength—it means people can tailor Linux for servers, desktops, security, privacy, education, gaming, and more. Some distros are designed for specific hardware; others for specific use cases

25 of 25

THE END