PDA

View Full Version : [all variants] start a script from another tty


moka
May 4th, 2008, 12:05 PM
Hello all,

im quite new to linux and was wonder if there was a way to start a script e.g. ./script1 on another tty

for example im on /dev/pts/0 and i want to start a script called ./script1 on /dev/pts/1

how would i go about doing this?

thanks alot
moka

macaholic
May 4th, 2008, 12:17 PM
If I understand you correctly, you jsut want to start another script without halting the fist one? If that is the case, then you can jsut switch to another tty terminal and have at it.

moka
May 4th, 2008, 12:19 PM
sorry i didnt explain myself too well,

basically im creating a server/client simulation and need to be able to start a script on another terminal from the first terminal without touching it...

is there not a command to start a script called for example ./script1 from pts0 on pts1

thanks