← All Exercises

Parallel Job Execution

intermediatebash~15min

Background

Parallel execution in bash speeds up I/O-bound tasks like downloads and API calls.

Problem

Execute multiple long-running commands in parallel and wait for all to complete.

Input

Multiple commands to run

Output

All results after completion

Sample tests

Sample 1

Input: 3 parallel downloads
Expected: all completed

Your solution

Learning objective

Learn bash job control and parallel execution