1Z0-821 · Question #76
You start to execute a program by using the following command: ~/bigscript & You then determine that the process is not behaving as expected, and decide that you need to terminate the process. Based…
The correct answer is A. 15163. From the output exhibit we can deduce that the shell has id 15156. It has spawned three subprocesses: The remaining 15163 must be the subshell (see note below). This is the id of the process which should be terminated. Note: The command ~/bigscript & starts ~/bigscript in a…
Question
You start to execute a program by using the following command:
~/bigscript & You then determine that the process is not behaving as expected, and decide that you need to terminate the process. Based on the information shown below, what is the process number you should terminate?
Exhibit
Options
- A15163
- B15156
- C15166
- D15165
How the community answered
(15 responses)- A80% (12)
- B13% (2)
- C7% (1)
Explanation
From the output exhibit we can deduce that the shell has id 15156. It has spawned three subprocesses: The remaining 15163 must be the subshell (see note below). This is the id of the process which should be terminated. Note: The command ~/bigscript & starts ~/bigscript in a separate subshell. Echo $ displays the exit status of a command.
Topics
Community Discussion
No community discussion yet for this question.
