LPI
102-400 · Question #1
When the command echo $$ outputs 12942, what is the meaning of 12942?
The correct answer is B. It is the process ID of the current shell. See the full explanation below for the reasoning.
Question
When the command echo $$ outputs 12942, what is the meaning of 12942?
Options
- AIt is the process ID of the echo command.
- BIt is the process ID of the current shell.
- CIt is the process ID of the last command executed.
- DIt is the process ID of the last command which has been placed in the background.
How the community answered
(20 responses)- A10% (2)
- B80% (16)
- C5% (1)
- D5% (1)
Community Discussion
No community discussion yet for this question.