A simple script that waits for a process to complete and then executes a command

Contributed by bxj on April 12, 2007 under Bourne shell scripting

It is often necessary under unix/linux to wait for certain processes to complete before running other processes. At best this can cause needless delays and wasted time, while in the worst cases someone may actually forget to run some final processing.

Comments Continue reading...