Remote shell question
Stephen M. Kennedy
smk at cbnews.att.com
Sat Feb 2 04:08:08 AEST 1991
Looks like you went to the right college :-)
brad at bradley.bradley.edu (Bradley E. Smith) writes:
>>I want to start up a process in the background on a remote machine using
>>remsh (sysV) or rsh (bsd), e.g.,
>
>> remsh/rsh remote-host 'sleep 30 > /dev/null 2>&1 &'
>I had this same problem...what I did was to use a 'C' program below.
Bingo! This is the shell solution to my particular problem
remsh/rsh remote-host 'sleep 30 <&- >&- 2>&- 7>&- &'
The offending fd #7 showed up in a "/etc/pstat -u pid-of-sleep-process" in
the file section.
Thank you, thank you, thank you!
Steve Kennedy
smk at cbosgd.att.com
att!cbosgd!smk
More information about the Comp.unix.shell
mailing list