[0m


UUX(1C)             UNIX Programmer's Manual		  UUX(1C)



[1mNAME
     [0muux - unix to unix command execution

[1mSYNOPSIS
     uux [0m[ [1m- [0m] [ [1m-cClLnprz [0m] [ [1m-a[0m_n_a_m_e ] [ [1m-g[0m_g_r_a_d_e ] [ [1m-x[0m_d_e_b_u_g ]
     command-string

[1mDESCRIPTION
     [0m_U_u_x will gather zero or more files from various systems,
     execute a command on a specified system and then send stan-
     dard output to a file on a specified system.

     The _c_o_m_m_a_n_d-_s_t_r_i_n_g 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 _s_y_s_t_e_m-_n_a_m_e[1m![0m.  A null _s_y_s_t_e_m-
     _n_a_m_e is interpreted as the local system.

     File names may be one of

	  (1) a full path name;

	  (2) a path name preceded by [1m~[0m_u_s_e_r where _u_s_e_r is a login
	  name on the specified system and is replaced by that
	  user's login directory;

	  (3) a path name prefixed by [1m~; [0mwhere [1m~ [0mis expanded to
	  the system's public directory (usually
	  /usr/spool/uucppublic);

	  (4) a partial pathname, which is prefixed by the
	  current directory.

     As an example, the command

	  uux "!diff usg!/usr/dan/file1 pwba!/a4/dan/file2 >
	  !~/dan/file.diff"

     will get the [1mfile1 [0mand [1mfile2 [0mfiles from the ``usg'' and
     ``pwba'' machines, execute a _d_i_f_f(1) command and put the
     results in [1mfile.diff [0min the local /usr/spool/uucppublic/dan/
     directory.

     Any special shell characters, such as [1m<>;|[0m, should be quoted
     either by quoting the entire _c_o_m_m_a_n_d-_s_t_r_i_n_g, or quoting the
     special characters as individual arguments.

     _U_u_x will attempt to get all files to the execution system.
     For files that are output files, the file name must be
     escaped using parentheses.  For example, the command

	  uux a!wc b!/usr/file1 \(c!/usr/file2 \)




Printed 27/11/91    Revision 1.2 of 19/10/88			1






UUX(1C)             UNIX Programmer's Manual		  UUX(1C)



     get [1m/usr/file1 [0mfrom system ``b'' and send it to system
     ``a'', perform a _w_c command on that file and send the result
     of the _w_c command to system ``c''.

     _U_u_x will notify you by mail if the requested command on the
     remote system was disallowed.  This notification can be
     turned off by the [1m-n [0moption.

     The following _o_p_t_i_o_n_s are interpreted by _u_u_x:

     [1m-	  [0mThe standard input to _u_u_x is made the standard input to
	  the _c_o_m_m_a_n_d-_s_t_r_i_n_g.

     [1m-a[0m_n_a_m_e
	  Use _n_a_m_e as the user identification replacing the ini-
	  tiator user-id.

     [1m-c   [0mDo not copy local file to the spool directory for
	  transfer to the remote machine (this is the default).

     [1m-C   [0mForce the copy of local files to the spool directory
	  for transfer.

     [1m-g[0m_g_r_a_d_e
	  _G_r_a_d_e is a single letter/number, from [1m0 [0mto [1m9[0m, [1mA [0mto [1mZ[0m,
	  or [1ma [0mto [1mz[0m; [1m0 [0mis the highest, and [1mz [0mis the lowest grade.
	  The default is [1mA[0m; by comparison _u_u_c_p(1C) defaults to [1mn
	  [0mand mail is usually sent at grade [1mC[0m.	Lower grades
	  should be specified for high-volume jobs, such as news.

     [1m-l   [0mTry and make a link from the original file to the spool
	  directory.  If the link cannot be made, copy the file.

     [1m-n   [0mDo not notify the user when the command completes.

     [1m-p   [0mSame as -: The standard input to _u_u_x is made the stan-
	  dard input to the _c_o_m_m_a_n_d-_s_t_r_i_n_g.

     [1m-r   [0mDo not start the file transfer, just queue the job.

     [1m-x[0m_d_e_b_u_g
	  Produce debugging output on stdout.  The debug is a
	  number between 0 and 9; higher numbers give more
	  detailed information. Debugging is permitted only for
	  privileged users (specifically, those with read access
	  to _L._s_y_s(5).

     [1m-z   [0mNotify the user only if the command fails.

     [1m-L   [0mStart up _u_u_c_i_c_o with the [1m-L [0mflag. This will force calls
	  to be made to local sites only (see _u_u_c_i_c_o(8C)).




Printed 27/11/91    Revision 1.2 of 19/10/88			2






UUX(1C)             UNIX Programmer's Manual		  UUX(1C)



[1mFILES
     [0m/usr/spool/uucp	   spool directories
     /usr/lib/uucp/*	   UUCP configuration data and daemons

[1mSEE ALSO
     [0muucp(1C), uucico(8C), uuxqt(8C).

[1mWARNING
     [0mFor security reasons, many installations will limit the list
     of commands executable on behalf of an incoming request from
     _u_u_x.  Many sites will permit little more than the receipt of
     mail (see _m_a_i_l(1)) via _u_u_x.

[1mBUGS
     [0mOnly the first command of a shell pipeline may have a
     _s_y_s_t_e_m-_n_a_m_e[1m![0m.  All other commands are executed on the system
     of the first command.

     The use of the shell metacharacter [1m* [0mwill probably not do
     what you want it to do.

     The shell tokens [1m<< [0mand [1m>> [0mare not implemented.

     When invoking _u_u_x from _c_s_h(1), the `!' character must be
     prefixed by the `\' escape to inhibit _c_s_h's history mechan-
     ism. (Quotes are not sufficient.)





























Printed 27/11/91    Revision 1.2 of 19/10/88			3



[0m