Using automated command scripts, Using automated command scripts d-38, D-38 – Adaptec SATA AND SCSI RAID CONTROLLERS User Manual

Page 141

Advertising
background image

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.

Advertising