Command-Line Editing

MSS editing functions are similar to those of many other network operating systems.

Keyboard Shortcuts

The following keyboard shortcuts are available for entering and editing CLI commands:

Keyboard Shortcut(s)

Function

Ctrl+A

Jumps to the first character of the command line.

Ctrl+B or Left Arrow key

Moves the cursor back one character.

Ctrl+C

Escapes and terminates prompts and tasks.

Ctrl+D

Deletes the character at the cursor.

Ctrl+E

Jumps to the end of the current command line.

Ctrl+F or Right Arrow key

Moves the cursor forward one character.

Ctrl+K

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

Ctrl+L or Ctrl+R

Repeats the current command line on a new line.

Ctrl+N or Down Arrow key

Enters the next command line in the history buffer.

Ctrl+P or Up Arrow key

Enters the previous command line in the history buffer.

Ctrl+U or Ctrl+X

Deletes characters from the cursor to the beginning of the

command line.

 

Ctrl+W

Deletes the last word typed.

Esc B

Moves the cursor back one word.

Esc D

Deletes characters from the cursor forward to the end of the

word.

 

Delete key or Backspace key

Erases mistake made during command entry. Reenter the

command after using this key.

 

History Buffer

The history buffer stores the last 63 commands you entered during a terminal session. You can use the Up Arrow and Down Arrow keys to select a command that you want to repeat from the history buffer.

Tabs

The MSS CLI uses the Tab key for command completion. You can type the first few characters of a command and press the Tab key to display the command(s) that begin with those characters.

D-Link DWS-1008 CLI Manual



Page 12
Image 12
D-Link dws-1008 manual Command-Line Editing, Keyboard Shortcuts Function