Chapter 1: Introduction

Table 1. CLI Line Editing Commands

Command

Resulting Action

 

 

Ctrl-k

Kill line from cursor to end of line

 

 

Ctrl-l

Refresh current line

 

 

Ctrl-m

Carriage return (executes command)

 

 

Ctrl-n

Next command from history buffer

 

 

Ctrl-o

None

 

 

Ctrl-p

Previous command from history buffer

 

 

Ctrl-q

None

 

 

Ctrl-r

Refresh current line

 

 

Ctrl-s

None

 

 

Ctrl-t

Transpose character under cursor with the character just prior to the

 

cursor

 

 

Ctrl-u

Delete line from the beginning of line to cursor

 

 

Ctrl-v

None

 

 

Ctrl-w

None

 

 

Ctrl-x

Move forward one word

 

 

Ctrl-y

Paste back what was deleted by the previous Ctrl-k or Ctrl-w command.

 

Text is pasted back at the cursor location

 

 

Ctrl-z

If inside a subsystem, it exits back to the top level. If in Enable mode, it

 

exits back to User mode. If in Configure mode, it exits back to Enable

 

mode.

 

 

ESC-b

Move backward one word

 

 

ESC-d

Kill word from cursor’s current location until the first white space.

 

 

ESC-f

Move forward one word

 

 

ESC-

Delete backwards from cursor to the previous space (essentially a delete-

BackSpace

word-backward command)

 

 

SPACE

Attempts to complete command keyword. If word is not expected to be a

 

keyword, the space character is inserted.

 

 

!*

Show all commands currently stored in the history buffer.

 

 

!#

Recall a specific history command. ‘#’ is the number of the history

 

command to be recalled as shown via the ‘!*’ command.

 

 

8

SmartSwitch Router User Reference Manual

Page 34
Image 34
Cabletron Systems 9032578-05 Kill line from cursor to end of line, Refresh current line, Next command from history buffer