dir

This command lists files and directories in the data grid.

Syntax

zos dir path 

Arguments

path

The path on the data grid.

Options

-C=, --cols=

Specifies the terminal width for formatting. The user must enter a value with this option.

-h, --help

Displays a help message for this operation.

-d, --debug

Turns on debug output during this operation.

-v, --verbose

Turns on verbose output during this operation.

Examples

Example 1

To list files for the current job instance, use the following command:

zos dir grid:///^

Example 2

To list the deployed files for the job named animation, use the following command:

zos dir grid:///\!animation