nerdexam
LPI

101-500 · Question #199

101-500 Question #199: Real Exam Question with Answer & Explanation

The correct answer is A. the process id of last background command. You've hit your Sonnet limit · resets Jun 8, 9am (UTC)

Shells and Shell Scripting

Question

The command echo $! will produce what output?

Options

  • Athe process id of last background command
  • Bthe exit status of the last command
  • Cthe exit status of the last background command
  • Dthe process id of the current shell
  • Ethe name of the command being executed

Explanation

You've hit your Sonnet limit · resets Jun 8, 9am (UTC)

Topics

#shell variables#background processes#special variables#process ID

Community Discussion

No community discussion yet for this question.

Full 101-500 Practice