LPI
102-350 · Question #3
In the following command and its output, echo $$ 12942 What is 12942?
The correct answer is B. the process ID of the current shell. See the full explanation below for the reasoning.
Question
In the following command and its output, echo $$ 12942 What is 12942?
Options
- Athe process ID of the echo command
- Bthe process ID of the current shell
- Cthe process ID of the last command executed
- Dthe process ID of the last backgrounded command
How the community answered
(24 responses)- A17% (4)
- B71% (17)
- C4% (1)
- D8% (2)
Community Discussion
No community discussion yet for this question.