Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ dosls(1) — HP-UX 6.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

dos(4)

ls(1)

DOSLS(1)

Series 300 Only

NAME

dosls, dosll − list contents of DOS directories

SYNOPSIS

dosls [ −adl ] [ names ]
dosll [ −adl ] [ names ]

DESCRIPTION

Dosls is the DOS counterpart of ls(1).

A DOS file name is recognized by the presence of an embedded colon (:) delimiter (see dos(4) for DOS file naming conventions). 

For each directory named, dosls lists the contents of that directory; for each file named, dosls repeats its name and any other information requested. 

If you are super-user, doslss defaults to listing all files except .  (current directory) and ..  (parent directory).  If invoked by the name dosll, the −l option is implied. 

There are several options:

−a List all entries.  In the absence of this option, hidden files, system files  and entries whose names begin with a dot (.) are not listed. 

−A Same as −a, except that the current directory and the parent directory are not listed.  For super-user, this flag defaults to ON, and is disabled by −A. 

−d If argument is a directory, list only its name.  Often used with −l to get the status of a directory. 

−l List in long format, giving file attribute, size in bytes, and the date and time of last modification for each file.  Long listing is disabled if dosll is invoked with the −l option. 

EXAMPLES

The examples that follow assume that an DOS directory structure exists on the device accessed through HP-UX device special file /dev/fd.0.

This example lists all of the files in the root directory of the DOS directory structure:

dosls −a /dev/fd.0:

This second example produces a long-format listing of all the information about the DOS directory /users/root but does not list the files in the directory:

dosls −ld /dev/fd.0:/users/root

IMPORTANT REMINDER

To obtain a listing of DOS files on the device accessed HP-UX device special file /dev/fd, be sure to include the colon as in

dosls /dev/fd:. 

If the colon is omitted as in

dosls /dev/fd,

a listing of the HP-UX file /dev/fd is produced, not the contents of the DOS directory accessed through /dev/fd.

SEE ALSO

dos(4), ls(1). 
 

Hewlett-Packard Company  —  May 11, 2021

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026