Quincy Center for Technical Education
Computer Technology Department

Rexec

Runs commands on remote computers running the REXEC service. The rexec command authenticates the user name on the remote computer before executing the specified command, and is available only if the TCP/IP protocol has been installed.

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

Parameters

computer

Specifies the remote computer on which to run command.

-l username

Specifies the user name on the remote computer.

-n

Redirects the input of rexec to NULL.

command

Specifies the command to run.