What is the purpose of the “fork” system call in UNIX-like operating systems ?

2025

What is the purpose of the “fork” system call in UNIX-like operating systems ?

  1. A.

    To terminate a process

  2. B.

    To create a new process

  3. C.

    To schedule processes

  4. D.

    To load a program into memory

Attempted by 99 students.

Show answer & explanation

Correct answer: B

The fork system call creates a new process by duplicating the calling process. The newly created child process inherits all resources from the parent, enabling concurrent execution of tasks in UNIX-like operating systems.

Explore the full course: Niacl Ao It Specialist