HELPLIB.HLB  —  RSH  Examples
    1.$ RSH HENCE MAN CP

       cp(1)

         Name
           cp - copy file data

         Syntax
           cp [ -f ] [ -i ] [ -p ] file1 file2
         .
         .
         .
         See Also
           cat(1), pr(1), mv(1)
      $

      A user sends the man cp command to UNIX host hence for
      execution.

    2.$ RSH /USER_NAME=ROGERS DELPHI LS

      OpenVMS user PHILIPS enters the ls command for execution at
      remote UNIX host delphi. PHILIPS is accessing an account called
      rogers.

    3.$ RSH /PASSWORD=BLOOMER AVOC8N DIRECTORY

      OpenVMS user PANTO sends the DIRECTORY command to remote
      OpenVMS host AVOC8N. The remote directory listing is of PANTO's
      home directory.

      RSH /PASSWORD invokes REXEC, which authenticates PANTO's remote
      password.

    4.$ RSH /PASSWORD MAGIC CAT BUZZ.TXT
      REXEC password:        (password not echoed)<Return>

      A user sends the cat command to host magic. /PASSWORD invokes
      REXEC, which requires a password. Because the password was
      omitted from the command line, REXEC prompts the user for it.
Close Help