Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

errors(1dn)

dcat(1dn)

NAME

dcat − type the contents of remote files

SYNTAX

dcat [−d] [−v] filespec

where

−d prints debugging information in the form of Data Access Protocol (DAP) message traces to stderr.

−v logs the names of the files being typed to stderr.

filespec is a file specification for one or more remote files.  The format for a file specification varies with each Digital operating system. 

You can specify wildcard characters.  If you want the target node instead of the local shell to interpret a string of wildcard characters, you must enclose the string in quotation marks. 
See the DECnet-ULTRIX User’s and Programmer’s Guide for file specifications and wildcard characters. 

DESCRIPTION

The dcat command reads remote files and displays them on the standard output.  The command displays the files in the order that you list them.

EXAMPLES

The following example displays, to standard output, the contents of the file FRUITS.LIS in the directory [MANGO] on disk DRA2: on the remote DECnet-VAX node DAVIS. Note that no access control information is given, indicating one of these possibilities: the file is world-readable, you defined an alias for the remote node, or you have a proxy account on the remote node. 

% dcat davis::’dra2:[mango]fruits.lis’

The following command redirects all the files with the extension .TXT from the directory [ADOBE] on the remote DECnet-VAX node NAVAHO into the local file lefile.t. The string /adobe/mysecret is the access control information, which NAVAHO uses to verify remote access:

% dcat navaho/adobe/mysecret::’[adobe]*.txt’ > lefile.t

SEE ALSO

errors(1dn)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026