Execute 2 Commands at the same time

Hi @all

I have got the following problem:

I want my Master-Script to execute 2 Sub-scripts at the same time.
How can i realize that?

Thx for your help

Greez Roger

nohup script1 2>&1 > log1 &
nohup script2 2>&1 > log2 &
wait
1 Like

Thx for ur answer

Can u explain me what the command really does?

i splitted up the sub-script into 2 sub-script by reason that the script will be executed faster.
does your command meet that conditions?

Thx a lot

EDIT: OK i tested it, it works nice =) thank you