Using SRC CLI Command Completion
You do not always have to remember or type the full command or option name for the CLI to recognize it.
To display all possible command or option completions, type the partial command followed immediately by a question mark.
To complete a command or option that you have partially typed, press the Spacebar. If the partially typed letters begin a string that uniquely identifies a command, the complete command name appears. Otherwise, a prompt indicates that you have entered an ambiguous command, and the possible completions are displayed.
Command completion also applies to other strings, such as filenames, interface names, and usernames. To display all possible values, type a partial string followed immediately by a question mark. However, to complete these strings, press the Tab key; pressing the Spacebar does not work.
Examples: Using CLI Command Completion
Issue a show command for a component that starts with the letter s:
user@host> show s ^ 's' is ambiguous. Possible completions: sae Display SAE information security Display security information system Display system information user@host>
Display a list of all log files whose names start with the letter m:
user@host> file show /var/log/m? Possible completions: <filename>Filename to show /var/log/maillogSize: 0, Last changed: Sep 27, 2006 10:33 AM /var/log/messagesSize: 109569, Last changed: Oct 2, 2006 3:10 PM