Mama i am coming home..
%cat checkzombie.sh
#!/bin/bash
./zombie1 &
./zombie
wait
%cat zombie1
#!/bin/bash
sleep 60
%cat zombie
#!/bin/bash
sleep 2
If you dont call wait at the end,the script will return before zombie1 is done as
zombie was executed as a background job.