[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 Commands Reference, Volume 5

uusend Command

Purpose

Sends a file to a remote host.

Syntax

uusend [ -mMode ] [ -r ] Sourcefile System [ !System ... ] !RemoteFile

Description

The uusend command sends a file to a given location on a remote system. The remote system need not be directly connected to the local system, but a chain of UUCP links must connect the two systems, and the uusend command must be available on each system in the chain.

The chain of systems is given by the System[!System ...] parameter, which lists each remote system the file is to be transferred to, separated by ! (exclamation points). The !Remotefile parameter gives the name under which the file is to be stored when it reaches the last system in the chain.

Note: Do not put any spaces between the system names and exclamation points or between the last exclamation point and the remote file name.

The SourceFile parameter specifies the name of the file on the local system. If a - (dash) is used, the uusend command uses standard input.

Flags

-m Mode Specifies that the mode of the file on the remote system will be taken from the octal number given. If this flag is not specified, the mode of the input file will be used.
-r Prevents the starting of the uucico daemon, which transfers files between systems. The default is to start the uucico daemon.

The flags are primarily used internally by the uusend command when it is transferring files to the next remote system in the chain.

Example

To send a file across one system to another system, enter:

uusend /etc/motd nostromo!gandalf!~nuucp

The /etc/motd file  is sent to system nostromo and then to system gandalf , and placed in nuucp 's home directory, /var/spool/uucppublic/nuucp , where nuucp is a BNU login ID.

Files

/usr/bin/uusend
Contains the uusend command.

Related Information

The uucp command, uux command.

The uucico daemon.


[ Previous | Next | Contents | Glossary | Home | Search ]