M

Mr. Dubey • 87.94K Points
Coach

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:
$ c.out
$ bash
$ c.out
  • (A) The second “c.out” process is also completed
  • (B) The second “c.out” process becomes an orphan process
  • (C) The first “c.out” process becomes a zombie process
  • (D) The init process becomes the parent of the second “c.out” process
  • Correct Answer - Option(D)
  • Views: 141
  • Filed under category Linux

Explanation by: Mr. Dubey
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.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics