Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1556 |
|
Remote execution utility.
rsh remotehost $AIPSROOT/.rshexec [-i] [-e aips_ext] command [options]
.rshexec defines the AIPS++ environment for a process invoked by rsh and then exec's the command with any specified arguments.
To see what the $AIPSPATH environment variable is defined to be on remote host lynx:
rsh lynx $AIPSROOT/.rshexec echo \''$AIPSPATH'\'
Note here that $AIPSROOT is evaluated on the local machine and it is assumed that it has the same value on the remote machine. Also note that the $AIPSPATH argument is protected by two sets of single quotes, the inner pair prevents the environment variable from being evaluated on the local machine, and the outer pair which is escaped to protect them from the local shell protects the environment variable from being evaluated by the login shell on the remote machine.
The unix manual page for rsh(1).
aipsinit (p), AIPS++ initialization procedure.
.profile (p), aips2mgr's .profile file.
inhale (p), AIPS++ code import utility.
Original: 1993/07/14 by Mark Calabretta, ATNF.