Loading practice questions
Which of the following commands would return the process_id of the sleep command?
Correct Answer: A — sleep 1 & echo $!
Explanation:
The special variable $! holds the process ID of the most recently executed background pipeline, which would be the sleep command in this case.