Skip to main content

Advantages and structure of UNIX

Short answer

UNIX advantages: multi-user, multitasking, portable (written in C), hierarchical file system treating devices as files, powerful shell with pipes and filters, and security via permissions. Structure: layered with hardware at bottom, kernel (process, memory, file management) above, system-call interface, then shell and libraries, and user applications on top.

What are the advantages of UNIX? Draw the structure of the UNIX operating system.

Advantages of UNIX

  • Multi-user and multitasking: many users and processes run at the same time.
  • Portable: written mostly in C, so it runs on many hardware platforms.
  • Hierarchical file system where devices are also treated as files, giving uniform I/O.
  • Powerful shell and utilities: pipes, filters, redirection and shell scripts let small tools be combined.
  • Security and protection: file permissions (rwx), user/group ownership and passwords.
  • Stable and efficient, with built-in networking and many free, open versions (Linux, BSD).

Structure of UNIX

UNIX has a layered (monolithic kernel) structure.

+--------------------------------------+
|  Users                               |
|  Shells, commands, compilers, libs   |
+--------------------------------------+
|  System-call interface to the kernel |
+--------------------------------------+
| KERNEL                               |
|  +---------------+ +---------------+ |
|  | File system   | | Process ctrl: | |
|  | block/char I/O| | scheduler,    | |
|  | device drivers| | memory mgmt,  | |
|  +---------------+ | IPC           | |
|                    +---------------+ |
+--------------------------------------+
|  Kernel interface to the hardware    |
+--------------------------------------+
|  Hardware: CPU, memory, disks, I/O   |
+--------------------------------------+
  • Hardware is the lowest level.
  • Kernel manages processes, memory, files and devices, and gives services through the system-call interface.
  • Shell and libraries sit above the system calls: the shell is the command interpreter.
  • Utilities and applications (editors, compilers, user programs) are the outer layer used by users.

✓ Answer checked by Claude Opus 5.5 (high effort)

All Operating System chapter 1 questions →