1 .\" Copyright (c) 1983 Regents of the University of California.
2 .\" All rights reserved. The Berkeley software License Agreement
3 .\" specifies the terms and conditions for redistribution.
5 .\" @(#)rsh.1c 6.1 (Berkeley) 4/29/85
7 .TH RSH 1 "April 29, 1985"
26 connects to the specified
28 and executes the specified \fIcommand\fR.
30 copies its standard input to the remote command, the standard
31 output of the remote command to its standard output, and the
32 standard error of the remote command to its standard error.
33 Interrupt, quit and terminate signals are propagated to the remote
34 command; \fBrsh\fP normally terminates when the remote command does.
36 The remote username used is the same as your local username,
37 unless you specify a different remote name with the
40 This remote name must be equivalent (in the sense of
42 to the originating account; no provision
43 is made for specifying a password with a command.
47 then instead of executing a single command, you will be logged in
48 on the remote host using
51 Shell metacharacters which are not quoted are interpreted
52 on local machine, while quoted metacharacters are interpreted on
57 rsh otherhost cat remotefile >> localfile
60 appends the remote file
67 rsh otherhost cat remotefile ">>" otherremotefile
77 Specify the remote user name.
80 Connect standard input of the remote command to /dev/null. Do this if
82 should not inadvertently read from standard input.
88 You cannot run an interactive command