RSH

(rsh)


在运行 RSH 服务的远程计算机上运行命令。该命令只有在安装了 TCP/IP 协议后才可以使用。

 

rsh computer [-l username] [-n] command

 

参数

 

computer 指定运行 command 的远程计算机。

 

-l username 指定远程计算机上使用的用户名。如果省略,则使用登录的用户名。

 

-n rsh 的输入重定向到 NULL

 

command 指定要运行的命令。

 


 

Runs commands on remote hosts running the RSH service.

 

RSH host [-l username] [-n] command

 

  host            Specifies the remote host on which to run command.

  -l username     Specifies the user name to use on the remote host. If omitted, the logged on user name is used.

  -n              Redirects the input of RSH to NULL.

  command         Specifies the command to run.