Q-Logic 5000 Switch User Manual


 
2 – Command Line Interface Usage
Entering Commands
2-4 59183-02 A
S
2.3
Entering Commands
The command-line completion feature makes entering and repeating commands
easier. Table 2-1 describes the command-line completion keystrokes.
2.4
Getting Help
To display help for a command, enter the Help command followed by the
command. The following is an example of the help that is available for the
Config Edit command.
SANbox #> help config edit
config edit [CONFIG_NAME]
This command initiates a configuration session and places the current session
into config edit mode.
If CONFIG_NAME is given and it exists, it gets edited; otherwise, it gets
created. If it is not given, the currently active configuration is edited.
Admin mode is required for this command.
Usage: config edit [CONFIG_NAME]
Table 2-1. Command-Line Completion
Keystroke Effect
Tab Completes the command line. Enter at least one character and press
the tab key to complete the command line. If more than one possibility
exists, press the Tab key again to display all possibilities.
Up Arrow Scrolls backward through the list of previously entered commands.
Down Arrow Scrolls forward through the list of previously entered commands.
Control-A Moves the cursor to the beginning of the command line
Control-E Moves the cursor to the end of the command line.
Control-U Clears the command line.