netls(1) CLIX netls(1)
NAME
netls - Digital Network Protocol (DNP) command that lists the directory
contents on a remote system
SYNOPSIS
netls [-chlrstU1] [-u username] [-p password] [-a account] [nodename::]
file
netls -r
FLAGS
-c Lists files by the creation time instead of the last modification
time. When used with the -t option, this option sorts files
according to the creation time. This works only with -l.
-h Does not display headers that describe the directory to which the
following files belong. (By default, they are displayed.)
-l Lists files in long format. The protection mode, owner, size in
bytes, and last modification time are listed with the file name.
-r Displays the release and version level of netls.
-s Prints the file size (in kilobytes) before the rest of each file's
information.
-t Sorts by time stamp (latest first) instead of by name. The default
is the last modification time.
-U Lists the time of the last access instead of the modification time.
When used with the -t option, sorts files according to the time of
last access. This works only with -l.
-1 Prints only one file entry on each line. This is the default mode
for long format or when the standard output is not a terminal.
DESCRIPTION
The netls command is a DNP utility that lists contents of directories.
The file parameter is a remote file specification as defined in netcp(1).
If name is a file specification, the files matching it are listed. The
file specification must conform to the wildcard rules of the remote
system. By default, the files are sorted alphabetically by name.
When netls generates multicolumn output, it checks the environment
variable COLUMNS for the number of columns that can be displayed on the
standard output device. (The default is 80.) The netls command formats
each line of the listing accordingly.
2/94 - Intergraph Corporation 1
netls(1) CLIX netls(1)
PARAMETERS
Command parameters can be specified in either of the following ways:
[-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.
2 Intergraph Corporation - 2/94
netls(1) CLIX netls(1)
RELATED INFORMATION
Commands: netcp(1)
Digital Network Protocol (DNP) User's Guide
2/94 - Intergraph Corporation 3