dls(1) CLIX dls(1)
NAME
dls - Lists contents of an MS-DOS directory
SYNOPSIS
dls [-adflmrtFR] name ...
FLAGS
-a Lists all entries, including hidden files, system files, ., and ...
-d For each directory argument, lists only its name, not its contents.
-f Forces each argument to be interpreted as a directory and lists the
name found in each entry. This flag turns off -l, -t, -s, and -r and
turns on -a.
-l Lists in long format.
-m Forces stream output format.
-r Reverses the sort order to get reverse alphabetic (default) or oldest
first (if the -t flag is specified).
-t Sorts by time modified (latest first) instead of by name.
-F Marks directories with a trailing /.
-R Recursively lists subdirectories encountered.
DESCRIPTION
The dls command lists the directory contents for MS-DOS directories. (dls
performs the same function for MS-DOS directories as ls does for CLIX
directories.) If no directories are named on the command line, the root
directory of drive a: is assumed.
The long form of the directory listing supplies the filename; the read,
hidden, system, volume, directory, and archive bits; the date and time of
the last file modification; the beginning File Allocation Table (FAT)
entry of the file; and the total size (in bytes) of the file.
Drive a: (the floppy drive), b: (the external floppy drive for systems
with two floppy drives), or c: (the DOS partition of the hard disk) may be
accessed with this command. If no drive is specified, a: (the floppy
drive) is assumed.
EXAMPLES
1. To list the contents of a:\:
2/94 - Intergraph Corporation 1
dls(1) CLIX dls(1)
dls
2. To show a long listing of all files in the directory a:\foo:
dls-al a:\foo
3. To list the DOS partition of the hard disk:
dls c:
FILES
/dev/dsk/fl Default floppy device
/dev/dsk/ufloppy 31/2 inch floppy driver
/dev/dsk/floppy 51/4 inch floppy driver
/dev/dsk/s0u0p9.0 DOS partition
NOTES
The dls command cannot read disks created on versions of DOS prior to
version 2.0.
CAUTIONS
The dls command is no longer supported, and may be broken. This command
has been replaced with the mtools command mdir.
EXIT VALUES
Exit values are not valid.
RELATED INFORMATION
Commands: dtu(1), mdir(1)
2 Intergraph Corporation - 2/94