In Linux, what is the relationship between a fork system call and an exec system call?

Posted by: Pdfprep Category: 210-250 Tags: , ,

In Linux, what is the relationship between a fork system call and an exec system call?
A . A fork system call specifies an executable file and an exec system call executes the file.
B . A child process uses the fork system call to request its parent PID, and an exec system call to request its own PI
D . A parent process duplicates itself with a fork system call, and the child process replaces itself with an exec system call.
E . A fork system call creates a new kernel instance, and an exec system call executes a command within the current kernel instance.

Answer: C

Leave a Reply

Your email address will not be published.