Start jobs in background and wait for both.
Section: Automation Recipes
Run two jobs in parallel and wait
bash
bash
job1 &
pid1=$!
job2 &
pid2=$!
wait "$pid1" "$pid2"Explanation
Useful in CI or local automation when tasks are independent.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Automation Recipes