beautypg.com

Deleting entries, Re-displaying the current command line, Command output pagination – Brocade Mobility RFS7000-GR Controller CLI Reference Guide (Supporting software release 4.1.0.0-040GR and later) User Manual

Page 30

background image

16

Brocade Mobility RFS7000-GR Controller CLI Reference Guide

53-1001945-01

Using CLI Editing Features and Shortcuts

1

When you use the command completion feature, the CLI displays the full command name. The
command is not executed until you use the Return or Enter key. This way, the command can be
modified if the full command was not what you intended by abbreviation. Enter a set of characters
that could indicate more than one command to list commands that begin with that set of
characters.

Alternatively, enter a question mark (?) to obtain a list of commands that begin with that set of
characters. Do not leave a space between the last letter you enter and the question mark (?).

For example, entering

co?

lists commands available in the current command mode:

RFS7000#co?

configure Enter configuration mode

copy Copy from one file to another

RFS7000#co

RFS7000# co?

copy? commit

RFS7000# co

NOTE

The characters entered before the question mark are reprinted to the screen to complete the
command entry.

Deleting Entries

Use any of the following keystrokes to delete command entries:

Re-displaying the Current Command Line

It is easy to recall the current command line entry if the system suddenly displays a message when
entering a command. To redisplay the current command line (refresh the screen), use the following
keystroke:

Command Output Pagination

When working with the CLI, output often extends beyond the visible screen length. In such a case,

Press Any Key to Continue (Q to Quit)

displays at the bottom of the screen. To resume,

press the Return key to scroll down one line, or press the Spacebar to display the next full screen of
output.

Keystrokes

Purpose

Backspace

Deletes the character to the left of the cursor.

Ctrl-D

Deletes the character at the cursor.

Ctrl-K

Deletes all characters from the cursor to the end of the command line.

Ctrl-W

Deletes the word up to the cursor.

Esc, D

Deletes from the cursor to the end of the word.

Keystrokes

Purpose

Ctrl-L

Redisplays the current command line.