Lets say I have 3 shell scripts First.sh
, Second.sh
and Third.sh
. Then I created
Forth.sh
with the content
nohup sh First.sh &
nohup sh Second.sh &
nohup sh Third.sh &
How to save PID created by each of the nohup command when I run nohup sh Forth.sh
?
thanks for you time