3 • Command line interface (CLI)
has to be made. For example, rather than typing configure, typing conf and pressing the <tab> key causes the
CLI to complete the command at the prompt. If the number of characters is not sufficient to uniquely identify
the command, the CLI will provide a list with all commands starting with the typed characters. For example, if
you enter the string co in the configure mode and press <tab>, the selections configure, copy, and context are
displayed.
Command history
SmartWare maintains a list of previously entered commands that you can go through by pressing the <up-
arrow> and <down-arrow> keys, and then pressing <enter> to enter the command.
The show history command displays a list of the commands you can go through by using the arrow keys.
Command Editing Shortcuts
SmartWare CLI provides a number of Emacs-style command shortcuts that facilitate editing of the command
line. Command editing shortcuts are summarized in
key while holding down the keyboard's "Control" key (sometimes labeled Ctl or Ctrl, depending on the key-
board and operating system of your computer).
Esc f is handled differently; press and release the "Escape" key (often labeled Esc on many keyboards) and then
press the f key.
Keyboard
Ctrl-p or <up-arrow>
Ctrl-n or <down-arrow>
Ctrl-f or <right-arrow>
Ctrl-b or <left-arrow>
Esc f
Esc b
Ctrl-a
Ctrl-e
Ctrl-k
Ctrl-u
Ctrl-d
Esc d
Ctrl-c
Ctrl-l
Ctrl-t
44
table 3
on page 44. The syntax Ctrl-p means press the p
Table 3. Command edit shortcuts
Recall previous command in the command history.
Recall next command in the command history.
Move cursor forward one character.
Move cursor backward one character.
Move cursor forward one word.
Move cursor backward one word.
Move cursor to beginning of line.
Move cursor to end of line.
Delete to end of line.
Delete to beginning of line.
Delete character.
Delete word.
Quit editing the current line.
Refresh (redraw) the display.
Transpose characters.
SmartWare Software Configuration Guide
Description
Command editing
Need help?
Do you have a question about the SmartNode Series and is the answer not in the manual?