Open System Services Shell and Utilities Reference Manual (G06.25+, H06.03+)

rsh(1) OSS Shell and Utilities Reference Manual
2. To do the same job, create symbolic link host2 to rsh and enter:
$ host2 df
3. To append a remote le to another le on the remote host, place the >> metacharacters in
"" (double quotes):
$ rsh host2 cat test1 ">>" test2
4. To append a remote le at the remote host to a local le, omit the double quotes:
$ rsh host2 cat test2 >> test3
5. To append a remote le to a local le and use a remote users permissions at the remote
host, use the -l ag:
$ rsh host2 -l jane cat test4 >> test5
FILES
/etc/hosts.equiv Species remote hosts from which users can execute commands on
the local host (if these users have an account on the local host). This
le can also specify a trusted user for each host.
$HOME/.rhosts Species remote hosts from which users can execute commands on
the local host (if these users have an account on the local host). This
le can also specify a trusted user for each host.
NOTES
To remotely access an HP NonStop server from a UNIX system or another NonStop HP server
through that systems rsh command, you must specify the -l ag. If you omit the -l ag, or if the
target server does not have a login name congured with an INITIAL-DIRECTORY attribute,
the command fails with the message "Connection refused."
RELATED INFORMATION
Commands: rshd(8), telnet(1).
Files: hosts.equiv(4), .rhosts(4).
STANDARDS CONFORMANCE
This command is an HP extension to the XPG4 Version 2 specication.
758 Hewlett-Packard Company 527188-003