Copy from Remote UNIX to Local Windows Using the UNIX cat Command

Copy from Remote UNIX to Local Windows Using the UNIX cat Command via Universal Command Manager for Windows

The following figure illustrates copying of file from a remote UNIX system to a local Windows system using the UNIX cat command.

Although the command is shown on two lines, it should be entered as one line at the command prompt.


The stdout of the cat command on the remote host is redirected back to the local host and written to the stdout of ucmd, which is then redirected to the local file localfile.

Command Line Options

The command line options used in this example are:

Option

Description

-cmd

Remote command - "cat ~/file" - to execute. The cat program copies the files specified on the command line to its stdout.

-host

Directs the command to a computer with a host name of dallas.

-userid

Remote user ID with which to execute the command.

-pwd

Password for the user ID.

-comment

Description of the process executed by Universal Command.

The file is copied as a text file, since the default transfer mode is text.

Components

Universal Command Manager for UNIX

Universal Copy