wait(1) bsd man page | unix.com

Man Page: wait

Operating Environment: bsd

Section: 1

WAIT(1) 						      General Commands Manual							   WAIT(1)

NAME
wait - await completion of process
SYNOPSIS
wait
DESCRIPTION
Wait until all processes started with & have completed, and report on abnormal terminations. Because the wait(2) system call must be executed in the parent process, the Shell itself executes wait, without creating a new process.
SEE ALSO
sh(1)
BUGS
Not all the processes of a 3- or more-stage pipeline are children of the Shell, and thus can't be waited for. (This bug does not apply to csh(1).) 7th Edition April 29, 1985 WAIT(1)
Related Man Pages
wait(2) - minix
wait(1) - netbsd
systemd-networkd-wait-online.service(8) - opensolaris
systemd-networkd-wait-online.service(8) - php
systemd-networkd-wait-online.service(8) - ultrix
Similar Topics in the Unix Linux Community
Waiting for an arbitrary background process (limiting number of jobs running)
Shell script runs fine in Solaris, in Linux hangs at wait command
sockets - can you send data while waiting on select()
Parent,child wait,signal
Wait for one processes to complete in a shell script