netrm(1) CLIX netrm(1)
NAME
netrm - Digital Network Protocol (DNP) command that removes files
SYNOPSIS
netrm [-ilnr] [-u username] [-p password] [-a account] [nodename::] file
netrm -r
FLAGS
The following flags are available:
-i Sets interactive mode. Prompts the user to confirm each file
deletion by entering one of the following responses:
Answer Y or y to delete the file and continue the interactive file
deletion mode.
Answer N or n to not delete the file, but continue the interactive
file deletion mode.
Answer R or r to delete the file and all remaining files. This
terminates the interactive file deletion mode.
Answer Q or q to quit.
-l Sets logging mode. Prints an acknowledgement, following the
deletion of a remote file, on the standard output terminal.
-n Sets noisy mode. Prints a message on the standard error stream
indicating when there is an attempt to connect to the remote file
transfer server. This often takes several seconds, and the message
provides a way to monitor the operation.
-r Displays the release number. Specifies the release and revision
numbers of netrm and its components. If the release number switch
is the sole argument to netrm, it prints the release information
and terminates.
DESCRIPTION
The netrm command deletes a specified file using the Digital Network
Protocol (DNP). Both the remote file specification and the methods of
specifying access control information are described below.
PARAMETERS
Command parameters can be specified in either of the following ways:
2/94 - Intergraph Corporation 1
netrm(1) CLIX netrm(1)
[-u username] [-p password] [-a account] [nodename::] file
`[nodename ["username [password [account]]"]::] file' The nodename
specifies a DECnet or CLIX hostname or address. The optional information
enclosed in double quotation marks (in the first example) or specified
with the -u, -p, or -a option is regarded as the access information. The
remote system uses this infomation to determine accessibility on the
remote host. The final portion of the syntax is the file specification on
the remote host. The parameter keywords are defined as follows:
nodename
Specifies a Digital Network Architecture (DNA) hostname or address.
For example, DECnet and CLIX hosts support DNA. The hostname or
address is defined as follows:
A hostname can be up to six characters.
The [area-number.]node-number format specifies an address. The
optional area-number is an integer in the range of 1-63 that
specifies the network area of the host. The node-number is an
integer in the range of 1-1023 that is unique in the network area.
If the remote node-number is in the same local network area, area-
number need not be specified.
username or -u username
Identifies the user on the remote system in whose name the access
will be performed. The NET_USER environment variable, if defined,
is used if no username is specified on the command line.
password or -p password
Specifies a password for username. A null password can be
specified with "".
account or -a account
Indicates the party to be billed for network access time. This
option is used by some DECnet systems. It is not valid for CLIX
systems. The NET_ACCOUNT environment variable, if defined, is used
if no account is specified on the command line. A null account can
be specified with "".
file Specifies a file conforming to naming conventions on the remote
host. CLIX-, VMS-, and DOS-style file specifications are examples
of some file-naming conventions. file can be a wildcard
specification.
RELATED INFORMATION
Commands: netcp(1)
Digital Network Protocol (DNP) User's Guide
2 Intergraph Corporation - 2/94