REXEC

(rexec)


在运行 REXEC 服务的远程计算机上运行命令。rexec 命令在执行指定命令前,验证远程计算机上的用户名,只有安装了TCP/IP 协议后才可以使用该命令。

 

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

 

参数

 

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

 

-l username 指定远程计算机上的用户名。

 

-n rexec 的输入重定向到 NULL

 

command 指定要运行的命令。

 


Runs commands on remote hosts running the REXEC service. Rexec authenticates the user name on the remote host before executing the specified command.

 

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

 

  host            Specifies the remote host on which to run command.

  -l username     Specifies the user name on the remote host.

  -n              Redirects the input of REXEC to NULL.

  command         Specifies the command to run.