beautypg.com

Cli basics, Editing keystrokes – Juniper Networks J4350 User Manual

Page 82

background image

J4350 and J6350 Services Router Getting Started Guide

To configure the Services Router or to modify an existing configuration, you
add statements to the configuration with the

edit

and

set

configuration mode

commands. For more information about the CLI configuration editor and
configuration mode, see the J-series Services Router Basic LAN and WAN Access
Configuration Guide
and the JUNOS software configuration guides.

CLI Basics

This section contains the following topics:

Editing Keystrokes on page 62

Command Completion on page 63

Online Help on page 63

Configuring the CLI Environment on page 65

Editing Keystrokes

In the CLI, you use keystrokes to move around on and edit the command line,
and to scroll through a list of recently executed commands. Table 27 lists some
typical CLI editing tasks and the keystrokes that perform them.

Table 27: CLI Editing Keystrokes

Task Category

Action

Keyboard Sequence

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.

Move the cursor to the end of the command line.

Ctrl-e

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
the command line.

Ctrl-k

Delete all characters on the command line.

Ctrl-u or Ctrl-x

Delete the word before the cursor.

Ctrl-w or Esc Backspace

Delete characters.

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

62

Using the Command-Line Interface

This manual is related to the following products: