Redirect Standard Input from Initiating System to UNIX
The ucmd command reads from standard input and writes it to the UCMD Server for the remote command to read as its standard input. The allocation of standard input can be changed with a shell redirection operator. The redirection operators instruct the shell to change the allocation of the standard files. To change the allocation of standard input, use the < operator.
ucmd -script myscript -host dallas -userid joe -pwd password < input.file
The command is sent to a remote system named dallas for execution. The output of the script is redirected back to the Universal Command process's standard out and standard error. Standard Input is read from file input.file on the initiating system. The process will authenticate and run under the authority of userid joe.
Command Line Options
Option | Description |
---|---|
File from which to read a script file. The script file is sent to the remote system for execution. | |
Directs the command to a computer with a host name of dallas. | |
Remote user ID with which to execute the command. | |
Password for the user ID. |
Components
Universal Command Manager for UNIX