# Run sleep, put it in the background sleep 10 & echo "PID of sleep is ${!}" # Wait for sleep to finish wait ${!}