drm(1d)
NAME
drm − Remove Remote DECnet Files
SYNTAX
drm [−d] filespec
DESCRIPTION
The drm command removes the entries for one or more files from a remote DECnet directory. Removal of a file requires write permission in the respective directory, but neither read nor write permission on the file itself. The filespec argument is a complete file specification for a remote DECnet file or directory. The format for a file specification varies with each Digital operating system. See the DECnet-ULTRIX documentation for a description of all DECnet file specifications.
You can specify wildcard characters in a file specification. You must enclose in quotes those portions of a file specification that you do not want the local shell to interpret, such as the portions of a file specification that contain foreign wildcard characters. See DECnet-ULTRIX documentation for more information.
If a file has no write permission and the standard input is a terminal, the file’s permissions are printed and a line is read from the standard input. If that line begins with y the file is deleted; otherwise, the file remains.
The drm command will not delete a remote ULTRIX directory but can delete a non-ULTRIX directory.
OPTIONS
−d Prints debugging information in the form of DAP message traces to stderr.
EXAMPLES
drm smaug/jackson/secret::’slides.rno’
This command deletes the file slides.rno from user Jackson’s account on remote DECnet-VAX node Smaug.
DIAGNOSTICS
This section defines the format for the drm diagnostic messages. Refer the DECnet-ULTRIX documentation for more information.
drm: unknown command flag, (flag)
You have specified a flag option, defined by the flag variable, which drm does not recognize.
drm: can’t remove filename , message
The drm command is unable to remove the file specified by the filename variable. A secondary error message, specified by the message variable, defines the reason for the error.
SEE ALSO
dcat(1d), dcp(1d), dls(1d), dlogin(1d)
DECnet-ULTRIX documentation