Command History Keys
Pagination Keys
Copyright © 2010, Juniper Networks, Inc.
Table 7: Command-Line Editing Keys (continued)
Key(s)
Function
Ctrl+z
In all modes except User Exec mode, executes any command typed
immediately before the command sequence and then changes the mode
to Privileged Exec mode. In User Exec mode, only executes any command
typed immediately before the command sequence.
Esc+b
Moves cursor back one word
Esc+Backspace
Deletes previous word
Esc+d
Deletes current or next word
Esc+f
Moves cursor forward one word
The CLI maintains two separate command histories. The first command history maintains
only Exec mode commands. The second history maintains all commands entered in any
of the configuration modes. The appropriate history will automatically be restored as
you transition between Global Configuration mode and Exec mode.
Table 8 on page 65 defines the keys related to command history. Arrow keys functions
only on ANSI-compatible terminals, such as VT100s.
Table 8: Command History Keys
Key
Function
Up Arrow or Ctrl+p
Recalls commands in history buffer, starting with most recent command.
Repeat key sequence to recall successively older commands.
Down Arrow or
Returns to more recent commands in history buffer after recalling
Ctrl+n
commands with Up Arrow or Ctrl+p. Repeat key sequence to recall
successively more recent commands.
Ctrl+r
Begin a reverse search for a previously entered string in the history buffer
by providing a character string when prompted. Enter Ctrl+r to continue
searching. Ctrl+h or Del deletes the last character in the string and starts
a search on the new string.
If the system needs to display more text than you can fit on the screen, the output pauses
and the --More-- prompt appears. Table 9 on page 66 defines the pagination keys that
you can use when the --More-- prompt appears. For more information, see "The - -More-
- Prompt" on page 40.
Chapter 2: Command-Line Interface
65
Need help?
Do you have a question about the JUNOSE SOFTWARE FOR E SERIES 11.3.X - SYSTEM BASICS CONFIGURATION GUIDE 2010-10-04 and is the answer not in the manual?
Questions and answers