D-Link DSN-5210-10 - xStack Storage Area Network Array Hard Drive Cli User's Manual - page 53
Command Line Interface User’s Guide
43
Help Select
Displays help for the Select command.
4.2.12 Set
Use the Set command to set a property in the current context.
Syntax
Set
Examples
Set name Zeus
Sets the array name to Zeus.
Help Set
Displays help for the Set command.
4.2.13 ShiftArgs
The shiftArgs command is an advanced feature intended for use with script files. This
command left-shifts off a minimum number of arguments.
This command is useful when working with an external text file containing command line
parameters and arguments. It is particularly useful if you will be performing repetitive
operations on several systems where argument shifting is required. If <integer> is omitted
from the command line, 1 is assumed.
Syntax
shiftArgs
Examples
shiftArgs
If a script has arguments 0, 1, and 2, including this command strips the leftmost
argument (0), resulting in arguments 1 and 2 being passed (as arguments #0 and #1).
shiftArgs 2
If a script has arguments 0, 1, and 2, including this command strips the two leftmost
arguments (0,1), resulting in argument 2 being passed (as argument #0).
Help shiftArgs
Displays help for the ShiftArgs command.