1wait [ job ... ]
2       Wait  for  the specified jobs or processes.  If job is not given
3       then all currently active child processes are waited for.   Each
4       job can be either a job specification or the process ID of a job
5       in the job table.  The exit status from this command is that  of
6       the job waited for.
7