VMS Help  —  TCPIP Services, Remote Commands, RSH
    The RSH (Remote Shell) command connects your terminal to a
    remote host and requests it to execute the command, script, or
    command procedure that you specify. If the command generates
    output, you see it as if it were produced locally. If you omit a
    remote command when you enter an RSH command line, RSH initiates
    an RLOGIN session. However, if the command line includes the
    /PASSWORD qualifier, the remote login attempt fails. Using the
    /PASSWORD qualifier invokes REXEC.

    Syntax rules require that you enter your RSH command line so that
    the remote command is the last word.

    Quotation Marks

    If the remote command is one or more lowercase words, you do not
    need to enclose them in double quotation marks on the RSH command
    line. However, double quotation marks ( " " ) are required for
    the following:

    o  Mixed-case UNIX commands

    o  Uppercase UNIX commands

    In addition, RSH handles one double quotation mark ( " ) and
    two consecutive double quotation marks ( " " ) in the following
    manner:

    o  If you enter one double quotation mark on a command line, RSH
       removes it.

    o  If you enter two consecutive double quotation marks on the
       command line, RSH removes the first quotation mark and leaves
       the second.

    o  If you enclose text within double quotation marks on a command
       line, RSH disables the default conversion of characters to
       lowercase and removes the quotation marks.

    Note that, as a general rule, if you are uncertain about whether
    or not to use quotation marks, you should use them.

    Interrupting Commands

    To stop remote execution of a command, press either Ctrl/C or
    Ctrl/Y.
Additional Information: explode extract
Examples
Close Help