Process ControlBackground Jobs, wait & Subshells
All courses

Run things in parallel (carefully)

& backgrounds a job. wait blocks until jobs complete. Parentheses create subshells — variables don't leak out.

Quirk: Subshells copy state — large loops in subshells can be slow. Sometimes process substitution is better.

Output
Press Run to execute your code.