System Administration Guide, Volume 1

How to Examine the Contents of a CD

Use the ls -L command to view the contents of /cdrom directory.


$ ls -L [-l] /cdrom/cdrom0

-L

Includes symbolic links in the output. 

-l

Long format. Includes permissions and owners in the output. 

Example--Examining the Contents of a CD

The following example lists the contents of the CD loaded into the first CD-ROM directory, /cdrom/cdrom0.


$ ls -L -l /cdrom/cdrom0
total 166
drwxr-xr-x   4 root     root        2048 Jul 21 05:18 MU
drwxr-xr-x   4 root     root        2048 Jul 21 05:18 Solaris_7_MU3
-rwxr-xr-x   1 root     root       30952 Jul 21 05:18 backout_mu
-rwxr-xr-x   1 root     root       49604 Jul 21 05:18 install_mu