how to force rsh to exit with status of remote command

R. P. C. Rodgers, M.D. rodgers at maxwell.mmwb.ucsf.edu
Mon Jun 3 15:50:05 AEST 1991


Dear Fellow Netlanders,

Reading the manual pages concerned with rsh and experimentation thus
far fail to show how rsh can be made to exit with the status of the command
it is executing on a remote host (if indeed this is possible...).
The rsh always seems to exit with a status of 0, even if the command on the
remote hosts fails.

Thanks in advance for any pointers/solutions.

Cheerio, Rick Rodgers
R. P. C. Rodgers, M.D.         (415)476-2957 (work) 664-0560 (home)
UCSF Laurel Heights Campus     UUCP: ...ucbvax.berkeley.edu!cca.ucsf.edu!rodgers
3333 California St., Suite 102 Internet: rodgers at maxwell.mmwb.ucsf.edu
San Francisco CA 94118 USA     BITNET: rodgers at ucsfcca



More information about the Comp.unix.shell mailing list