How does a script/program executes in unix?

view full story

http://unix.stackexchange.com – I have a doubt about the execution pattern of a unix script. For example a script containing lines: command B function C() { Myscript // Myscript is a script command D } command E and suppose if Myscript takes a long time to execute (say 5 minutes) then is the next command (command D) going to execute or wait for Myscript to complete. (HowTos)