Command completion – Juniper Networks J-series Services Router J2320 User Manual

Page 117

Advertising
background image

Table 50: CLI Editing Keystrokes

Keyboard Sequence

Action

Task Category

Ctrl-b

Move the cursor back one character.

Move the cursor.

Esc b

Move the cursor back one word.

Ctrl-f

Move the cursor forward one character.

Esc f

Move the cursor forward one word.

Ctrl-e

Move the cursor to the end of the command line.

Ctrl-h, Delete, or Backspace

Delete the character before the cursor.

Delete characters.

Ctrl-d

Delete the character at the cursor.

Ctrl-k

Delete all characters from the cursor to the end of
the command line.

Ctrl-u or Ctrl-x

Delete all characters on the command line.

Ctrl-w or Esc Backspace

Delete the word before the cursor.

Esc d

Delete the word after the cursor.

Ctrl-y

Insert the most recently deleted text at the cursor.

Insert recently deleted text.

Ctrl-l

Redraw the current line.

Redraw the screen.

Ctrl-p

Scroll backward through the list of recently executed
commands.

Display previous command lines.

Ctrl-n

Scroll forward through the list of recently executed
commands.

Ctrl-r

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

Esc /

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 number sequence

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.

Repeat keyboard sequences.

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 (?).

Using the Command-Line Interface

95

Chapter 4: Services Router User Interface Overview

Advertising