1UUX(1)                      General Commands Manual                     UUX(1)
2
3
4

NAME

6       uux - unix to unix command execution
7

SYNOPSIS

9       uux  [  -  ]  [ -cClLnprz ] [ -aname ] [ -ggrade ] [ -xdebug ] command-
10       string
11

DESCRIPTION

13       Uux will gather zero or more files from various systems, execute a com‐
14       mand on a specified system and then send standard output to a file on a
15       specified system.
16
17       The command-string is made up of one or more arguments that look like a
18       Shell  command line, except that the command and file names may be pre‐
19       fixed by system-name!.  A null system-name is interpreted as the  local
20       system.
21
22       File names may be one of
23
24              (1) a full path name;
25
26              (2)  a path name preceded by ~user where user is a login name on
27              the specified system and is replaced by that user's login direc‐
28              tory;
29
30              (3)  a  path name prefixed by ~; where ~ is expanded to the sys‐
31              tem's public directory (usually /usr/spool/uucppublic);
32
33              (4) a partial pathname, which is prefixed by the current  direc‐
34              tory.
35
36       As an example, the command
37
38              uux     "!diff     usg!/usr/dan/file1    pwba!/a4/dan/file2    >
39              !~/dan/file.diff"
40
41       will get the file1 and  file2  files  from  the  ``usg''  and  ``pwba''
42       machines, execute a diff(1) command and put the results in file.diff in
43       the local /usr/spool/uucppublic/dan/ directory.
44
45       Any special shell characters, such as <>;|, should be quoted either  by
46       quoting the entire command-string, or quoting the special characters as
47       individual arguments.
48
49       Uux will attempt to get all files to the execution system.   For  files
50       that are output files, the file name must be escaped using parentheses.
51       For example, the command
52
53              uux a!wc b!/usr/file1 \(c!/usr/file2 \)
54
55       get /usr/file1 from system ``b'' and send it to system ``a'', perform a
56       wc command on that file and send the result of the wc command to system
57       ``c''.
58
59       Uux will notify you by mail if the requested command on the remote sys‐
60       tem  was  disallowed.   This  notification  can be turned off by the -n
61       option.
62
63       The following options are interpreted by uux:
64
65       -    The standard input to uux is made the standard input to  the  com‐
66            mand-string.
67
68       -aname
69            Use  name as the user identification replacing the initiator user-
70            id.
71
72       -c   Do not copy local file to the spool directory for transfer to  the
73            remote machine (this is the default).
74
75       -C   Force the copy of local files to the spool directory for transfer.
76
77       -ggrade
78            Grade is a single letter/number, from 0 to 9, A to Z, or a to z; 0
79            is the highest, and z is the lowest grade.  The default is  A;  by
80            comparison uucp(1) defaults to n and mail is usually sent at grade
81            C.  Lower grades should be specified for high-volume jobs, such as
82            news.
83
84       -l   Try and make a link from the original file to the spool directory.
85            If the link cannot be made, copy the file.
86
87       -n   Do not notify the user when the command completes.
88
89       -p   Same as -: The standard input to uux is made the standard input to
90            the command-string.
91
92       -r   Do not start the file transfer, just queue the job.
93
94       -xdebug
95            Produce debugging output on stdout.  The debug is a number between
96            0 and 9; higher numbers give more detailed information.  Debugging
97            is  permitted  only for privileged users (specifically, those with
98            read access to L.sys(5).
99
100       -z   Notify the user only if the command fails.
101
102       -L   Start up uucico with the -L flag. This will force calls to be made
103            to local sites only (see uucico(8C)).
104

FILES

106       /usr/spool/uucp       spool directories
107       /etc/uucp/∗           UUCP configuration data.
108

SEE ALSO

110       uucp(1), uucico(8), uuxqt(8).
111

WARNING

113       For  security  reasons,  many installations will limit the list of com‐
114       mands executable on behalf of an incoming request from uux.  Many sites
115       will permit little more than the receipt of mail (see mail(1)) via uux.
116

BUGS

118       Only  the  first  command  of a shell pipeline may have a system-name!.
119       All other commands are executed on the system of the first command.
120
121       The use of the shell metacharacter will probably not do what you want
122       it to do.
123
124       The shell tokens << and >> are not implemented.
125
126       When  invoking  uux  from csh(1), the `!' character must be prefixed by
127       the `\' escape to inhibit csh's history mechanism. (Quotes are not suf‐
128       ficient.)
129
130
131
1327th Edition                    October 22, 1996                         UUX(1)
Impressum