Skip to main content
InterviewHubPRO
Section Overview
Q3

Question 3 of 50

Part 1: Basic & Foundational Concepts (Junior / Entry-Level)

6%
Linux OS Internals (50 Qs)•Part 1: Basic & Foundational Concepts (Junior / Entry-Level)

What is PID 1 (`init` / `systemd`) and what is its role?

junior Levellinux-osBasic

In Simple Words: PID 1 is the very first process launched by the Linux kernel during boot:

  • The ancestor/parent of all other processes in the operating system.
  • Responsibilities:
    1. Bootstraps system services, mounts filesystems, and configures networking.
    2. Adopts Orphaned Processes: When a parent process dies before its child, PID 1 adopts the child and reaps its exit status to prevent zombie leaks.
    3. Manages system shutdown and service lifecycles.