beautypg.com

Command completion, Online help – Juniper Networks J4350 User Manual

Page 83

background image

Services Router User Interface Overview

Table 27: CLI Editing Keystrokes (continued)

Task Category

Action

Keyboard Sequence

Scroll backward through the list of recently executed
commands.

Ctrl-p

Scroll forward through the list of recently executed
commands.

Ctrl-n

Search the CLI history in reverse order for lines
matching the search string.

Ctrl-r

Display previous command lines.

Search the CLI history by typing some text at the
prompt, followed by the keyboard sequence. The
CLI attempts to expand the text into the most recent
word in the history for which the text is a prefix.

Esc /

Repeat keyboard sequences.

Specify the number of times to execute a keyboard
sequence. Replace number with a number from 1
through 9, and replace sequence with a keyboard
sequence in this table.

Esc number sequence

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 Tab
or Spacebar. If the partially typed letters uniquely identify a command,
the complete command name appears. Otherwise, a message indicates
that your entry is ambiguous or invalid. Possible command completions
are displayed if your entry is ambiguous.

You can also use command completion on filenames and usernames.
To display all possible values, type one or more characters followed
immediately by a question mark. To complete these partial entries, press
Tab only. Pressing Spacebar does not work.

Online Help

The CLI provides context-sensitive help at every level of the command hierarchy.
The help information tells you which commands are available at the current
level in the hierarchy and provides a brief description of each.

To get help while in the CLI, type a question mark (?) in one of the following ways:

Type a question mark at the command-line prompt. The CLI lists the available
commands and options. For examples, see “CLI Operational Mode” on
page 60 and “CLI Configuration Mode” on page 61.

Using the Command-Line Interface

63

This manual is related to the following products: