How to execute one shell script after execution of another shell script?

I have a master shell script master.sh which will invoke 2 shell scripts (test1.sh,test2.sh). Both of these shell scripts will
execute stored procedure. I will invoke test1.sh, test2.sh respectively. Now both of these scripts are executing parallel.
But i want to invoke the 2nd script(test2.sh) only after the successful completion of script 1 (test1.sh)

try

........
./test1.sh && ./test2.sh
1 Like

It works fine!!

---------- Post updated at 02:20 AM ---------- Previous update was at 02:10 AM ----------

One more doubt, when i execute the script master.sh using the below command

sh master.sh

it starts executing test1.sh and prompt is still running. When test1.sh completes and test2.sh starts its execution only then prompt gets closed.

Please help me how to close the prompt after running the script (master.sh)

i'm not clear but maybe you can try this
[ process test1.sh in the background ]

( ./test1.ksh & p=$! ; wait $p ) && ./test2.ksh