| Add comments here | |
|
uucp is a command to copy a file onto another UNIX
system. uux is a command to execute a command on
another UNIX system, often piping data through that
command. This is extremely useful for automating any kind of
distributed function, including mail and news.
|
| |
uucp and uux both come as part of
the uucp package which stands for Unix to Unix Copy.
uucp may sound ridiculous considering commands like
rsh (remote shell) and automated FTP transfers
(which accomplish the same thing), but uucp has
features that these do not, making it an essential, albeit
antiquated, utility.
|
| |
uucp predates the Internet: it was originally
used to implement a mail system using modems and telephone
lines only. It hence has sophisticated protocols for ensuring that
your file/command really does get there, with the
maximum possible fault tolerance and the minimum of
retransmission. This is why it should always be used for
automated tasks wherever there are unreliable (i.e. modem)
connections.
|
| |
Especially important is that when a uucp operation is
interrupted by a line break, the connection time is not waisted:
uucp would not have discarded any partially transmitted
data. This means that no matter how slow or error prone the
connection, progress is always made.
|
| |
|
| |
To copy a file from one machine to another, simply enter
|
uucp <filename> <machine>!<path>
|
|