Hi,
I am a newbie in Shell Script. I am trying to open 10 new sessions,each session running on a separate thread. For each session, I open a new xterm, go to a particular directory and run a script. here is the code for the same.
#!/bin/sh
xterm
cd /home/rt
./try.sh
xterm
cd /home/rt
./try.sh
once the script runs only a single window opens and the script try.sh does not start on the newly created window.
If someone can point out where I am going wrong it will be of great help
thanks
AB
I am a newbie in Shell Script. I am trying to open 10 new sessions,each session running on a separate thread. For each session, I open a new xterm, go to a particular directory and run a script. here is the code for the same.
#!/bin/sh
xterm
cd /home/rt
./try.sh
xterm
cd /home/rt
./try.sh
once the script runs only a single window opens and the script try.sh does not start on the newly created window.
If someone can point out where I am going wrong it will be of great help
thanks
AB
Comment