Table 7: Command-Line Editing Keys
(continued)
Function
Key(s)
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.
Ctrl+z
Moves cursor back one word
Esc+b
Deletes previous word
Esc+Backspace
Deletes current or next word
Esc+d
Moves cursor forward one word
Esc+f
Command History Keys
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
Function
Key
Recalls commands in history buffer, starting with most recent command.
Repeat key sequence to recall successively older commands.
Up Arrow
or
Ctrl+p
Returns to more recent commands in history buffer after recalling
commands with Up Arrow or Ctrl+p. Repeat key sequence to recall
successively more recent commands.
Down Arrow
or
Ctrl+n
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.
Ctrl+r
Pagination Keys
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.
65
Copyright © 2010, Juniper Networks, Inc.
Chapter 2: Command-Line Interface
Summary of Contents for JUNOSE 11.3
Page 6: ...Copyright 2010 Juniper Networks Inc vi...
Page 8: ...Copyright 2010 Juniper Networks Inc viii JunosE 11 3 x System Basics Configuration Guide...
Page 24: ...Copyright 2010 Juniper Networks Inc xxiv JunosE 11 3 x System Basics Configuration Guide...
Page 32: ...Copyright 2010 Juniper Networks Inc 2 JunosE 11 3 x System Basics Configuration Guide...
Page 146: ...Copyright 2010 Juniper Networks Inc 116 JunosE 11 3 x System Basics Configuration Guide...
Page 166: ...Copyright 2010 Juniper Networks Inc 136 JunosE 11 3 x System Basics Configuration Guide...
Page 432: ...Copyright 2010 Juniper Networks Inc 402 JunosE 11 3 x System Basics Configuration Guide...
Page 488: ...Copyright 2010 Juniper Networks Inc 458 JunosE 11 3 x System Basics Configuration Guide...
Page 524: ...Copyright 2010 Juniper Networks Inc 494 JunosE 11 3 x System Basics Configuration Guide...
Page 554: ...Copyright 2010 Juniper Networks Inc 524 JunosE 11 3 x System Basics Configuration Guide...
Page 566: ...Copyright 2010 Juniper Networks Inc 536 JunosE 11 3 x System Basics Configuration Guide...
Page 588: ...Copyright 2010 Juniper Networks Inc 558 JunosE 11 3 x System Basics Configuration Guide...
Page 613: ...PART 3 Index Index on page 585 583 Copyright 2010 Juniper Networks Inc...
Page 614: ...Copyright 2010 Juniper Networks Inc 584 JunosE 11 3 x System Basics Configuration Guide...
Page 632: ...Copyright 2010 Juniper Networks Inc 602 JunosE 11 3 x System Basics Configuration Guide...