dcat(1dn) — Commands
Digital
NAME
dcat − Type the contents of remote files
SYNOPSIS
dcat -v filespec
FLAGS
-v Logs the names of the files being typed to standard error.
filespec 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-Plus for Digital UNIX Introduction and User’s Guide for information about 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 OpenVMS node LOCAL:.DAVIS. 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 local:.davis::’dra2:[mango]fruits.lis’ The following command redirects all the files with the extension .TXT from the directory [ADOBE] on the remote OpenVMS node LOCAL:.NAVAHO into the local file lefile.txt. The string /adobe/secret is the access control information, which NAVAHO uses to verify remote access: dcat local:.navaho/adobe/secret::’[adobe]∗.txt’ > lefile.txt
RELATED INFORMATION
DECnet-Plus for Digital UNIX Installation and Configuration