Q. A user issues the following sequence of commands:
If the user kills the bash process, then which of the following statements is true?
Code:
If the user kills the bash process, then which of the following statements is true?
$ c.out $ bash $ c.out
β
Correct Answer: (D)
The init process becomes the parent of the second “c.out” process
Explanation: When a process dies, its children are adopted by init, so you’ll see a lot of processes with parent 1 on a typical system.