Recent Changes - Search:

PmWiki

pmwiki.org

edit SideBar

RunningACommandOnARemoteSite

Using a remote file as an argument

To ask south to print the file south!/schedule/january using the lp command, you would type:

uux 'south!lp' '/schedule/january'

where /schedule/january is the name of the file on south to be printed. In general, if no site is specified on the arguments for the remote command, uux assumes the command is on the site running the command. You must specify full pathnames for files in uux commands. As a general rule, enclose all arguments to uux in single quotation marks to prevent the shell from interpreting them.

Using a local file as an argument

To ask south to print the local file /schedule/january using the lp command, you would type:

uux south!lp !/schedule/january

uux sends a copy of the file for printing; after the remote command has run, the copy is removed.

Caveats

Command execution on the UUCP network will change where users can specify non-interactive scripts to perform tasks. The information therein will change.

Edit - History - Print - Recent Changes - Search
Page last modified on February 03, 2019, at 09:44 PM