rexec |
Stands for remote execute command, which runs commands on remote machines running the rexec service.
rexec remotehost [-l username] [-n] command
remotehost
The remote machine running the rexec service.
-l username
The credentials used to run the command on the remote host.
-n
Redirection of standard input of rexec to null. (Try using this for commands that run interactively.)
command
The command to remotely execute (enclose in quotes if there are embedded spaces).
Perform a directory listing on the Unix machine
BONGO as user
mitcht by remotely executing the ls command:
rexec bongo -l mitcht "ls ~" Password (bongo:): ******** doc fig read.ps
Note that rexec prompts for a password before executing the command remotely.
rexec copies standard input to the remote command.
rexec terminates when the remote command has been executed.
rexec can't be used to run some common interactive Unix commands such as emacs (use telnet to do this instead).
rcp, rsh, telnet