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 ?
- A.
To terminate a process
- B.
To create a new process
- C.
To schedule processes
- 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.