UUX(1C) — USER COMMANDS
NAME
uux − unix to unix command execution
SYNOPSIS
uux [ − ] [ −gx ] [ −n ] [ −r ] [ −xn ] [ −z ] command-string
DESCRIPTION
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 system.
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 prefixed by system-name!. A null system-name is interpreted as the local system.
File names may be one of
(1) a full pathname;
(2) a pathname preceded by ~xxx/; where xxx is a username on the specified system and is replaced by that user’s login directory;
(3) a pathname preceded by ~/; such a pathname is replaced by the “public uucp” directory on the remote machine.
(4) 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.
OPTIONS
−gxset service grade or classification to x. The default is A.
−ndon’t return any indication by mail of success or failure of the job.
−rdon’t start uucico, just queue the job.
−xnset debugging level to n. (5, 7, and 9 are good numbers to try; they give increasing amounts of detail.)
−zreturn an indication by mail only if the job fails.
FILES
/usr/spool/uucpspool directory
/usr/lib/uucp/∗other data and programs
SEE ALSO
uucp(1C), mail(1), sendmail(8)
Uucp Implementation Description in System Administration for the Sun Workstation
WARNING
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.
BUGS
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.
Sun Release 3.2 — Last change: 23 September 1985