nerdexam
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)
  • A
    10% (2)
  • B
    80% (16)
  • C
    5% (1)
  • D
    5% (1)

Community Discussion

No community discussion yet for this question.

Full 102-400 Practice