Moving the cursor on the command line, Completing a partial command name – Brocade Communications Systems RFS6000 User Manual

Page 29

Advertising
background image

Brocade Mobility RFS4000, RFS6000 and RFS7000 CLI Reference Guide

27

53-1001931-01

Using the no and default command forms

1

Moving the cursor on the command line

Table 2

shows the key combinations or sequences to move the cursor on the command line. Ctrl

defines the Control key, which must be pressed simultaneously with its associated letter key.

Esc supports the Escape key (which must be pressed first), followed by its associated letter key.
Keys are not case sensitive. Specific letters are used to provide an easy way of remembering their
functions. In

Table 2

, bold characters bold indicate the relation between a letter and its function.

Completing a partial command name

If you cannot remember a command name (or if you want to reduce the amount of typing you have
to perform) enter the first few letters of a command, then press the Tab key. The command line
parser completes the command if the string entered is unique to the command mode. If your
keyboard does not have a Tab key, press Ctrl-I.

TABLE 2

Key Combinations Used to Move the Cursor

Keystrokes

Function Summary

Function Details

Left Arrow or Ctrl-B

Back character

Moves the cursor one character to the left
When entering a command that extends beyond
a single line, press the Left Arrow or Ctrl-B keys
repeatedly to scroll back to the system prompt
and verify the beginning of the command entry.
You can press the Ctrl-A key combination.

Right Arrow or Ctrl-F

Forward character

Moves the cursor one character to the right

Esc, B

Back word

Moves the cursor back one word

Esc, F

Forward word

Moves the cursor forward one word

Ctrl-A

Beginning of line

Moves the cursor to the beginning of the line

Ctrl-E

End of line

Moves the cursor to the end of the command
line

Ctrl-d

Deletes the current character

Ctrl-U

Deletes text up to cursor

Ctrl-K

Deletes from the cursor to end of the line

Ctrl-P

Obtains the prior command from memory

Ctrl-N

Obtains the next command from memory

Esc-C

Converts the rest of a word to uppercase

Esc-L

Converts the rest of a word to lowercase

Esc-D

Deletes the remainder of a word

Ctrl-W

Deletes the word up to the cursor

Ctrl-Z

Enters the command and returns to the root
prompt

Ctrl-L

Refreshes the input line

Advertising
This manual is related to the following products: