I need to run few commands in a ksh script sequentially.
Some of the commands are jobs submitted to the server and the consecutive commands are dependent on the completion of the jobs submitted to the server.
It works if i separate the commands into different files like this
#!/bin/ksh
./source1
./source2
But can someone tell me how to achieve this in a single ksh script/file?
Thanks.