Juniper Networks J2320 manual Command Completion, CLI Editing Keystrokes

Models: J2320

1 330
Download 330 pages 32.01 Kb
Page 115
Image 115

Chapter 4: Services Router User Interface Overview

Table 44: CLI Editing Keystrokes

Task Category

Action

Keyboard Sequence

Move the cursor.

Move the cursor back one character.

Ctrl-b

 

Move the cursor back one word.

Esc b

 

Move the cursor forward one character.

Ctrl-f

 

Move the cursor forward one word.

Esc f

 

Move the cursor to the end of the command line.

Ctrl-e

Delete characters.

Delete the character before the cursor.

Ctrl-h, Delete, or Backspace

 

Delete the character at the cursor.

Ctrl-d

 

Delete all characters from the cursor to the end of

Ctrl-k

 

the command line.

 

 

Delete all characters on the command line.

Ctrl-u or Ctrl-x

 

Delete the word before the cursor.

Ctrl-w or Esc Backspace

 

Delete the word after the cursor.

Esc d

Insert recently deleted text.

Insert the most recently deleted text at the cursor.

Ctrl-y

Redraw the screen.

Redraw the current line.

Ctrl-l

Display previous command lines.

Scroll backward through the list of recently executed

Ctrl-p

 

commands.

 

 

Scroll forward through the list of recently executed

Ctrl-n

 

commands.

 

 

Search the CLI history in reverse order for lines

Ctrl-r

 

matching the search string.

 

 

Search the CLI history by typing some text at the

Esc /

 

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.

 

Repeat keyboard sequences.

Specify the number of times to execute a keyboard

Esc number sequence

 

sequence. Replace number with a number from 1

 

 

through 9, and replace sequence with a keyboard

 

 

sequence in this table.

 

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 93

Page 115
Image 115
Juniper Networks J2320 manual Command Completion, CLI Editing Keystrokes, Task Category Action Keyboard Sequence