Bash Wait For Another Script To Finish, This guide dives deep into the `wait` command, with a focus on waiting for multiple PIDs.