in reply to Re: Re: rsh (remote shell) help
in thread rsh (remote shell) help

I can see two things you could be doing better: you are thinking like you are writing a program, rather than doing tricks with shell scripts, and you have the & in the wrong place (where you have it backgrounds the 'echo' command, not kin.css.wait) This is closer to what you want:

---file kin.css (on the remote computer, I assume) echo running kin.css; #Do your thing touch kin.done; echo Finished running kin.css; ---eof

and now run it by typing on the local computer

rsh dgintel1 /bb/bin/kin.css &

Your problem was that your were backgrounding the wrong process on the wrong computer. If you want the local prompt back you have to background the local program - in this case rsh.

____________________
Jeremy
I didn't believe in evil until I dated it.