D-Link DSN-1100-10 CLI User's Guide for DSN-1100-10 - Page 53
ShiftArgs
UPC - 790069321559
View all D-Link DSN-1100-10 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 53 highlights
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 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. Command Line Interface User's Guide 43