Block until a shell job completes.
Section: Shell Job Control
Wait for shell job
bash
bash
wait %1Explanation
Block until a shell job completes.
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 Shell Job Control
Resume stopped job in background
Continue a stopped job in the background.
Suspend current foreground job
Suspend the current foreground process group.
Remove job from shell tracking
Prevent the shell from sending SIGHUP to the job on exit.