LPIC-1 101-500 Exam · Objective 103.5

Receiving a background process exit status

103.5Basic

TASK_PID is the PID of a background command that exits with status 7.

Print that command's exit status after it finishes.

bash -c 'sleep 1; exit 7' &
TASK_PID=$!

Which command is appropriate?

Receiving a background process exit status · Answer choices
Question IDKP-103-015
EnvironmentBash 5.2
Last technical review2026-08-12
Report an error or rights issue
Progress and questions

Path & Pass is an independent learning site and is not affiliated with any certification body. Questions are original practice content based on published objectives.