CDLS(1,C) AIX Commands Reference CDLS(1,C)
-------------------------------------------------------------------------------
cdls
PURPOSE
Lists contents of CD-ROM directories.
SYNTAX
+--------+
cdls ---| +----+ |--- cddirectory ---|
+-| -a |-+ ^ |
^| -l || +---------------+
|+----+|
+------+
Note: This command is for the PS/2 only.
DESCRIPTION
The cdls command is a CD-ROM command that is a restricted variant of the ls
command. It can be used to display the contents of one or more CD-ROM
directories. In the simplest form of the command, the contents of a directory
is shown, one entry per line. If more than one directory is given on the
command line, the contents of each directory is shown preceded by a blank line
and a line containing the name of the directory followed by a colon.
Letters in file names on a CD-ROM are restricted to uppercase. Since this
restriction conflicts with common AIX practice, file names displayed by cdls
are shown in lowercase.
CD-ROM file names are written as an absolute path beginning with an alias for a
device name, normally /cd0. If a file name is written in relative form (that
is, no leading slash), the /cd0 prefix is assumed.
FLAGS
-a Lists all entries in the directory, including entries that begin a dot.
-l Similar to the -l option of the ls command, but there are some
differences in the directory structure and content of a CD-ROM. File
permissions are always shown as "r--r--r--" and directories as
"r-xr-xr-x". The link count for a file is shown as 1; directories show
an unknown count. User and group IDs are printed as "***". The time
shown for a file is the field described as "recording time" on the
CD-ROM itself.
Processed November 8, 1990 CDLS(1,C) 1
CDLS(1,C) AIX Commands Reference CDLS(1,C)
FILES
/dev/cd0
/dev/rcdrom0
RELATED INFORMATION
See the following commands: "cdcp" and "cdcat."
Processed November 8, 1990 CDLS(1,C) 2