così

codice:
#!/bin/sh

echo "inizio"
./y &
echo "fine"
e y:

codice:
#!/bin/sh

sleep 5
echo "atteso"