CLI Guide

Table Of Contents
Wildcards
The command line interface includes 3 wildcards:
* - matches any number of characters.
? - matches any single character.
[a|b|c] - matches any of the single characters a or b or c.
NOTE: Use the find command with wildcards to find context names and data matching specific patterns in the CLI
context tree. See Context Tree Searching for more information.
* wildcard
Use the * wildcard to apply a single command to multiple objects of the same type (directors or ports).
For example, to display the status of ports on each director in a cluster, without using wildcards:
ll clusters/cluster-1/directors/director-1-1-A/ports
ll clusters/cluster-1/directors/director-1-1-B/ports
.
.
Alternatively:
Use one * wildcard to specify all engines, and
Use a second * wildcard specify all directors:
ll engines/engine-1-*/directors/*/hardware/ports
** wildcard
Use the ** wildcard to match all contexts and entities between two specified objects.
For example, to display all director ports without using wildcards:
ll clusters/cluster-1/directors/director-1-1-A/ports
ll clusters/cluster-1/directors/director-1-1-B/ports
.
.
Alternatively, use a ** wildcard to specify all contexts and entities between /engines and ports:
ll /engines/**/ports
? wildcard
Use the ? wildcard to match a single character (number or letter).
ls /storage-elements/extents/0x1?[8|9]
Returns information on multiple extents.
Using the VPlexcli
19