4 using line editing commands, Using line editing commands -4, Table 3-1 – Riverstone Networks WICT1-12 User Manual

Page 46: Cli line editing commands -4

Advertising
background image

3-4 Riverstone Networks RS Switch Router User Guide Release 8.0

Using Line Editing Commands

CLI and RS Basics

Note

Some CLI modes may have the same commands. For example, the configure
mode has

port

commands. These

port

commands are for making configuration

changes to ports on the RS. The enable mode also has

port

commands. The

port

commands found in this mode display port statistics. They are not designed to
change the way a port functions like the

port

commands in the configure mode

do.

3.4

USING LINE EDITING COMMANDS

The CLI provides line editing capabilities that are similar to Emacs, a Unix text editor. Use line editing keystrokes to
move forward or backward on a line, delete or transpose characters, or delete portions of a line. The line editing
commands in the CLI are detailed in the following table.

Table 3-1

CLI line editing commands

Command

Resulting Action

Ctrl+a

Move to the beginning of line.

Ctrl+b

Move back one character.

Ctrl+c

Abort the current line.

Ctrl+d

Delete the character under the cursor.

Ctrl+e

Move to the end of the line.

Ctrl+f

Move forward one character.

Ctrl+g

Abort the current line.

Ctrl+h

Delete the character to the left of the cursor.

Ctrl+i

Insert one space (tab substitution).

Ctrl+j

Carriage return (executes a command).

Ctrl+k

Kill the line from the cursor to the end of the line.

Ctrl+l

Refresh the current line.

Ctrl+m

Carriage return (executes command).

Ctrl+n

Next command from the history buffer.

Ctrl+o

No action.

Ctrl+p

Previous command from the history buffer.

Ctrl+q

No action.

Ctrl+r

Refresh the current line.

Ctrl+s

No action.

Advertising