0

I run a shell script 1. From inside this script 1 run another script 2 using /bin/bash script2.sh; . This causes the execution of script 1 to stop and script 2 starts running.

How can I start the execution of script 2 and then come back again and continue execution of script 1 while script 2 is still running ? Please tell me a simple method as I'm a beginner.

Science Rocker
  • 7
  • 1
  • 1
  • 3
  • Run it "in the background" which you can do by having the invoking command end with `&` as in `/bin/bash script2.sh &` rather than `/bin/bash script2.sh;` – PSkocik Aug 27 '21 at 12:31

0 Answers0