Wait
Jump to navigation
Jump to search
External
Internal
Overview
wait [jobspec|pid]
Wait until the process specified by pid or jobspec exits. Return the exit status of the last command waited for. If a jobspec is given, all processes in the job's pipeline are waited for.
If no arguments are given, all currently active child processes are waited for, and the return code is zero.