Running Three Shells with a Shell

Okay, so I had these three bat files I converted to shells so I could run this on Linux, which I'm operating through PuTTy.

I made another shell file which would run the other three: 1.sh, 2.sh, and 3.sh, with a five second pause between each. It looks like this:
[CODE]./1.sh
sleep 5
./2.sh
sleep 5
./3.sh[/CODE]

My problem is that 2.sh is supposed to connect to 1.sh, but the shell won't continue to run 2.sh until 1.sh is responding. I hope you understand what I'm saying here. Any help appreciated.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories