|
Execute All Commands in A contrl File
Hi ,
I have a situation i need to write a while loop until the end of control file.In the control file i have a 5 lines which contains commands.how can i execute all with out waiting for the first one to complete.
Ex ControlFile:
ScripitName Test
ScriptName Test1
ScriptName Test2
while read -r inline
do
$inline # inline = ScriptName Test
done < ControlFile
I need to complete the whole loop with out waiting until the execution of the previous command.
Appreciate your help.
|