Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (v7man)
Apropos / Subsearch:
optional field

UUX(1C)                                                                UUX(1C)

       uux - unix to unix command execution

       uux [ - ] command-string

       Uux will gather 0 or more files from various systems, execute a command
       on a specified system and send standard output to a file on a specified

       The command-string is made up of one or more arguments that look like a
       shell command line, except that the command and file names may be  pre-
       fixed  by system-name!.  A null system-name is interpreted as the local

       File names may be one of

              (1) a full pathname;

              (2) a pathname preceded by ~xxx; where xxx is a  userid  on  the
              specified system and is replaced by that user's login directory;

              (3) anything else is prefixed by the current directory.

       The  `-'  option will cause the standard input to the uux command to be
       the standard input to the command-string.

       For example, the command

              uux "!diff usg!/usr/dan/f1 pwba!/a4/dan/f1 > !fi.diff"

       will get the f1 files from the usg and pwba machines,  execute  a  diff
       command and put the results in f1.diff in the local directory.

       Any  special  shell  characters such as <>;| should be quoted either by
       quoting the entire command-string, or quoting the special characters as
       individual arguments.

       /usr/uucp/spool - spool directory
       /usr/uucp/* - other data and programs

       D. A. Nowitz, Uucp implementation description

       An installation may, and for security reasons generally will, limit the
       list of commands executable on behalf of an incoming request from  uux.
       Typically,  a restricted site will permit little other than the receipt
       of mail via uux.

       Only the first command of a shell pipeline  may  have  a  system-name!.
       All other commands are executed on the system of the first command.
       The use of the shell metacharacter * will probably not do what you want
       it to do.
       The shell tokens << and >> are not implemented.
       There is no notification of denial of execution on the remote machine.