How do the Linux fork and clone system calls differ? How are they alike?
What will be an ideal response?
Both system calls spawn a child task. The fork system call spawns a child task that contains a copy of its parent’s resources (i.e., a heavyweight process). The clone system call spawns a child task that shares some of its parent’s resources (i.e., a lightweight process).
Computer Science & Information Technology