Format:
wait process ID
This means wait until process ID has finished before carrying on, or wait until all background processes have finished before carrying on.
To wait until process ID has finished before carrying on with the script or task:
$ wait 1299
Wait until all background processes have finished:
$ wait
18.188.146.77