Listing files on the removable media at the HMC

6.10 LPAR mode z/VM guest

Use the lshmc command to list files on the removable media at the HMC.

Before you begin

Your Linux® instance must have access to the removable media at the HMC.

About this task

You can list files on the removable media at the HMC without having to first mount the contents on the Linux file system.

Procedure

Issue a command of this form:
# lshmc <filepath>
where <filepath> is an optional specification for a particular path and file. Path specifications are interpreted as relative to the root directory of the removable media. You can use the asterisk (*) and question mark (?) as wildcards. If you omit <filepath>, all files in the root directory of the media are listed.
Example: The following command lists all .html files in the www subdirectory of the media.
# lshmc www/*.html