3ware HTML Bookshelf



3ware® CLI Guide > Introduction to the 3ware Command Line Interface > Working with 3ware CLI > Using a single command with output

Using a single command with output
You can use 3ware CLI with line arguments, processing a single command at a time. To do so, simply enter the command and the arguments.
Single commands can be useful when you want to perform a task such as redirecting the output of the command to a file. It also allows you to use the command line history to eliminate some typing.
Syntax
tw_cli <command_line_arguments>
Example
tw_cli /c0 show diag > /tmp/3w_diag.out

Copyright AMCC 2004-2008
To contact Support, log in at https://www.3ware.com

www.3ware.com
1-858-535-6517
1-800-840-6055