Command editing
An overview off command editing, the related keystrokes and other details.
The vRouter shell supports Emacs-style command editing.
Command-line editing keystrokes shows the most important editing keystrokes.
Type this | To do this |
---|---|
<Left Arrow> <Control>-b | Move backward in the command line. |
<Right Arrow> <Control>-f | Move forward in the command line. |
<Control>-a | Move to the beginning of the command line. |
<Control>-e | Move to the end of the command line. |
<Control>-d | Delete the character directly under the cursor. |
<Control>-t | Toggle (swap) the character under the cursor with the character immediately preceding it. |
<Control>-<Space> | Mark the current cursor position. |
<Control>-w | Delete the text between the mark and the current cursor position, copying the deleted text to the cut buffer. |
<Control>-k | “Kill” (delete) from the cursor to the end of the line, copying the deleted text into the cut buffer. |
<Control>-y | “Yank” (paste) from the cut buffer into the command line, inserting it at the cursor location. |
If the information being displayed is too long for your screen, the screen shows the “more” indication where the information breaks.
Display options within a more screen shows the keystrokes for controlling the display of information in a more screen.
Type this | To do this |
---|---|
q Q | Exit more |
<Space> f <Ctrl>+f | Scroll down one whole screen. |
b <Ctrl>+b | Scroll up one whole screen. |
d <Ctrl>+d | Scroll down one-half screen. |
u <Ctrl>+u | Scroll up one-half screen. |
<Enter> e <Ctrl>+e <Down Arrow> | Scroll down one line. |
y <Ctrl>+y <Up Arrow> | Scroll up one line. |
G | Scroll down to the bottom of the output. |
g | Scroll up to the top of the output. |
h | Display detailed help for “more.” |