Entering Commands and Getting Help


Commands, options, and arguments are entered at the CLI prompt. A command name must be typed, but included command-completion and help features contribute to the command entry process.


To display a list of commands you use within a command mode, enter a question mark (?), or use the tab key, or type help at the command prompt.


You also display keywords and arguments for each command with this context-sensitive help feature.


Use the complete commands and display keywords and arguments for each command using the tab key to assist with context-sensitive command help and completion.


Table 1, lists the command that you enter to get help specific to a command, keyword, or argument.


Table 1: Getting Help

abbreviated- command-entry?

Displays a list of commands that begin with a specific character string. Do not leave a space between the string and question mark.

abbreviated- command-entry <tab>

Completes a partial command name.

?

Lists all commands.

command ?

Lists all keywords for the command. Leave a space between the command and the question mark.

command keyword ?

Lists all arguments for the keyword. Leave a space between the command and the question mark.

Where a text string is used, such as name-string, the following characters are allowed as part of the text string:


  • a-z, A-Z, 0-9, _ (underscore), . (period), , (comma), : (colon), and - (dash).


Note: If you enter a command that is invalid, then using the ? and tab key have no effect and do not return any changes to the CLI.




Note: The CLI has an editing ability similar to UNIX and Linux functionality using emacs keys. For example, ˄p steps backward through previous commands, ˄n moves to the next command in the history, ˄a moves to the first character in the command and ˄e moves to the end of the line, ˄u erases the current line, and ˄w erases the previous word. Also, you can use the up and down arrows on your keyboard to retrieve the last command entered at the CLI.