ls

List the contents of a directory.

Use this command to display the contents of a directory.

Synopsis

ls [path]

Command Forms

ls
Display the contents of the current directory.
ls <Path>
Display the contents of the specified directory by absolute or relative path.

Examples

/> ls /Instance
Cluster-A

/Instance/Cluster-A> ls
tenant-1
tenant-2

/Instance/Cluster-A> ls tenant-1
sample-namespace-a
sample-namespace-b

/Instance/Cluster-A/tenant-1> ls ../Cluster-A
tenant-1
tenant-2