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. |
The following example lists the contents of the CD loaded into the first CD-ROM directory, /cdrom/cdrom0.
$ ls -L -l /cdrom/cdrom0 dr-xr-xr-x 2 root sys 2048 Dec 31 1993 tools dr-xr-xr-x 2 root sys 2048 Dec 31 1993 graphics |