The command help demonstrates how to use the CLI interface.
Using the CLI interface
Previous issued commands can be recalled by using the UP and DOWN arrow keys. The full list of previously entered commands can be viewed by issuing the command history .
Command Help (?):
To view command help for a command, type the name of the command immediately followed by '?'; for example, <command>?. To view the command usage description, type the name of the command, then a space followed by ?. For example, <command><space>?. If there are child commands defined under this command, a list of child commands will be displayed along with their command help descriptions.
1) terminal ?
2) terminal timeout?
3) terminal timeout ?
Example 1 will show the list of valid subcommands defined under 'terminal'.
Example 2 will show the command description for 'terminal timeout'.
Example 3 will show the command usage for 'terminal timeout'.
TAB Completion:
Only the first part of a command that uniquely identifies the command needs to be typed in order for it to be recognized. A partially entered command can be completed by typing a single TAB. If unique, the full command will be displayed on the command line. To show a list of sub commands or a list of commands that complete a partially entered command, press TAB twice.
Control Characters
There are a number of special control characters that serve special purposes in the CLI.
Ctrl-A Moves cursor to start of line.
Ctrl-B Moves cursor left one character (left-arrow).
Ctrl-C Kills the CLI session if it in unresponsive.
Ctrl-D Ends CLI session.
Ctrl-E Moves cursor to end of line.
Ctrl-F Moves cursor right one character (right-arrow).
Ctrl-H Deletes one character to the left of the cursor (Backspace).
Ctrl-K Deletes characters from cursor to end of line.
Ctrl-L Redraws line.
Ctrl-N Recalls next history line (down-arrow).
Ctrl-P Recalls previous history line (up-arrow).
Ctrl-U Clears line.
Ctrl-W Deletes left to the next word boundary.
Ctrl-X Cancels the current operation.
matrix_host> help