Juniper Networks J2350 Network Router User Manual


 
Table 50: CLI Editing Keystrokes
Keyboard SequenceActionTask Category
Ctrl-bMove the cursor back one character.Move the cursor.
Esc bMove the cursor back one word.
Ctrl-fMove the cursor forward one character.
Esc fMove the cursor forward one word.
Ctrl-eMove the cursor to the end of the command line.
Ctrl-h, Delete, or BackspaceDelete the character before the cursor.Delete characters.
Ctrl-dDelete the character at the cursor.
Ctrl-kDelete all characters from the cursor to the end of
the command line.
Ctrl-u or Ctrl-xDelete all characters on the command line.
Ctrl-w or Esc BackspaceDelete the word before the cursor.
Esc dDelete the word after the cursor.
Ctrl-yInsert the most recently deleted text at the cursor.Insert recently deleted text.
Ctrl-lRedraw the current line.Redraw the screen.
Ctrl-pScroll backward through the list of recently executed
commands.
Display previous command lines.
Ctrl-nScroll forward through the list of recently executed
commands.
Ctrl-rSearch 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 sequenceSpecify 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