Asus Adaptec 2020 ZCR User Manual - Page 143
Using Automated Command Scripts
View all Asus Adaptec 2020 ZCR manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 143 highlights
Command Line Interface Using Automated Command Scripts To execute a CLI command script, type the at sign (@), followed by the filename that contains the CLI commands, for example: AAC0>@commandscript.txt In a CLI command script text file, each line ends with a line feed inserted by pressing Enter. Example open AAC0 controller details close AAC0 exit The above CLI command script: 1 Opens controller AAC0 by invoking the CLI command open. 2 Invokes controller details. 3 Closes controller AAC0 by invoking the CLI command close. 4 Exits the script. D-38
D-38
Command Line Interface
Using Automated Command Scripts
To execute a CLI command script, type the at sign (@), followed by
the filename that contains the CLI commands, for example:
AAC0>@commandscript.txt
In a CLI command script text file, each line ends with a line feed
inserted by pressing
Enter
.
Example
open AAC0
controller details
close AAC0
exit
The above
CLI command script:
1
Opens controller AAC0 by invoking the CLI command
open
.
2
Invokes
controller details
.
3
Closes controller AAC0 by invoking the CLI command
close
.
4
Exits the script.